Sunderland goalkeeper Jordan Pickford has agreed a new four-year deal which keeps him at the club until 2018.