add support for hashbang routes

Previously the goto directive would only build links with href attributes that are HTML5 route compatible.