Tidy up search page code

Break out search view code into partials
Closes #103 

Prevent invalid searches - from the results page widget - from crashing the page
Closes #137 

<!---
@huboard:{"order":137.0,"milestone_order":137,"custom_state":""}
-->