Keaton Jennings ends his long wait for a Test century to put England in a formidable position in the first Test against Sri Lanka.