Town in the scottish borders with an abbey dating from 11281