Gloucester Rugby faced Sale Sharks in round four of the Gallagher Premiership, with the Cherry & Whites hanging on for a bonus-point win.