JONES ENERGY, INC. AMENDED AND RESTATED REGISTRATION RIGHTS AND STOCKHOLDERS AGREEMENT DATED AS OF MAY 2, 2017