Matthew Revis hundred helps Yorkshire to post imposing 517 for 6 declared