Improve the search results page

This is a work in progress, but the ticket is vague in any case, so feel free
to merge if you think it's satisfactory:

![screen shot 2014-02-07 at 18 00 59](https://f.cloud.github.com/assets/663700/2112671/df3a08ce-9021-11e3-89b7-a855b03f8747.png)


Closes #1163