Removes test code for html pages
Improves template inheritance

Removes unnecessary code
Formats navbar and adds glyphicons for search