Merge branch 'issues/145-use-sidebar-partial-for-authority-page' into hampshire
Index council_reference as well. Closes #177
JSHint fixes
Zoom map to fit markers after loading. Fixes #139

I played with several options to solve the problem of not being
able to see everything within the default map zoom level
reducing the radius did have some effect, but it still wasn't
optimal on small screens. This however ensures that you always
see everything that your search returned. It has the downside
that on mobile especially you don't see as detailed a view of
the map initially, but this is outweighed I think by the
confusion of not seeing any markers at all. It has the
advantage too of showing you a much *more* detailed view on
larger screens, because it can zoom in as far as possible to
show all the results. I think we should perhaps tweak the
minimum radius down a bit still, but perhaps we can reduce it
to 1 mile or 1/2 a mile instead. Otherwise people don't see
enough results for specific queries.
Merge branch 'issues/139-viewing-all-markers' into hampshire
Remove console.log
Prevent the Hampshire theme being loaded by rake spec
Remove Hampshire-specific tests from the core app specs
Fix specs to reflect changes made to the core app

Data structure changes, MySQL vs PostgreSQL sorting, etc
Reinstate the applications count in the search sidebar
The stats should not be displayed if there are no results
Separate out the homepage and search features
Authority list view spec
Individual authority view spec
Stub calls to ThinkingSphinx in the theme specs