MotoGP, and the five manufacturers involved in the sport, have signed a long-awaited new five-year commercial agreement.