Former Springbok forwards coach Johann van Graan has been rewarded for transforming Bath into Premiership title contenders by signing a six-year contract.