Added search JavaScript functionality.

1. Updated nav view to display previously-entered quick search query if
it exists.
2. Added hidden quick search query input to search view.
3. Added link to search.js and call to search.init() to search view.
4. Added search.js.