Refactor out a url_for method
Test for url_for
Override form_tag to use url_for. Fixes #739