Refactor Hampshire's search controller to use a model-backed form

This moves all the logic for processing search input and
computing the search results into a model which inherits
from ApplicationSearch, using hampshire specific logic
to do so.
Update Hampshire search views to match new form object
Update Hampshire feature specs to match new search form

I've moved each VCR episode into an individual file for
each example, as that seems to be more how VCR expects
you to use it, and it makes it easier to keep track of
which examples need updating if something is refactored.
Refactor Hampshire's search controller to use a model-backed form

This moves all the logic for processing search input and
computing the search results into a model which inherits
from ApplicationSearch, using hampshire specific logic
to do so.
Add an apt-get update to the provisioning script
Don't specify a postgres version in provision.sh
Bundle install as part of provisioning
Add a category field to the Application model

For storing categories like "Extensions" or "Major Development" that
allow the general public to browse applications better and us to
calculate statistics of similar applications.
Remove the Porches category, it's not common enough
Validate that categories are in an allowed list
Add training and test data for application classifier
Switch application classifier to File-based storage
Tidy up printing of classification tests
Refactor application processing into a separate class
Classify applications whilst importing them
Don't geocode applications with geokit on saving

We already have lat/lngs from the source data so
no need to do this extra step. Makes importing
quicker, not least because we don't need to sleep
to avoid making GeoKit upset
Store the council's category as well as our own
Get Trees and Hedges category from council categories

Previously we attempted to classify this using the classifier
but actually the council 'Q' reporting codes map exactly
to this category so it's easier to use those
Add a new rake task to classify applications in the DB
Tidy up whitespace