fixed base href and base url not being available from the routing with use_routing off. also fixed an issue where URLs in form actions specified relative to the base href are not recognized. closes #386 and closes #387