Brighton captain Lewis Dunk has signed a new five-year contract at the club, ending speculation over a potential move to Chelsea.