David de Gea has pledged to lead Manchester United into a new era after committing his long-term future to the club with a new contract.