Simplify RepositoryImport#main_repo
Simplify ApplicationController#main_page
Use a distinct search action for formulae
Simplify search routing

This also adds specs for the basic `/search` URLs.
Disallow empty searches
Also disallow DELETE, POST and PUT to /
Use jquery-cdn

Load jQuery from Google's CDN and use jQuery 2.1.1.