James Milner has ended speculation surrounding his Liverpool future by signing a new contract that will run until 2022