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 
let's just delete these lines instead of commenting