Former St Helens player Keiron Cunningham has been named the new head coach of the Super League champions.