Plan to build 26 homes on former Masham livestock mart