make output template driven
Add textile reference
Add classes for form checker and JavaScript code for js branch
unit test fixes, markup and code cleanup

* fix error 500 in tags_controller (never skimp on parens)
* renamed make_secure_form() to action_token_field()
* removed secure_form() that's no longer used anywhere
WIP