Tributes paid to popular Dumfries teacher described as an "a