Town council set to take control of Knaresborough’s historic market in double devolution deal