Bus drivers and Unite members are celebrating after settling a pay dispute with Stagecoach.