Ancient settlement discovered on proposed housing site in Boroughbridge