UI refactor pt 1: Nav & Search

Here for review, **don't merge yet**

* Took Navigation and Global Search out of the index.mustache base template and made a view for each. Related functions and events are stored in those views.
* Removed unused Search view

@tpetr 
Oops that was a mistake. I didn't meant to leave it in :P