Completed HTML content neg and templates

Implemented Freemarker templates for all resources.
added result count to HTML search