ZD670437 ZD691032 fix sidebar search app

@jdmanuel @dbuchi @pdeuter 

#### Fixes:

- missing results when searching 'everything'
- no results shown when specifying a type
- wrong count displayed
- missing search icon/button
- pagination
- user redirection when clicking 'next' or 'advanced' search links
- converts tabs to spaces in templates/search.hdbs

![search-app](https://cloud.githubusercontent.com/assets/1010128/2586748/b504fb1a-ba09-11e3-9781-541ba2c64081.png)