Add Postgres / PostGIS stuff
Remove Mongo stuff
require 'rails/all' again
Tweak database.yml
Add migrations
ActiveRecordise all the models
Change postcode import stuff to be Post GIS friendly
Refactor import script
Only insert a postcode if it's valid
Convert latlng to string for map
Change latlng references to `x` and `y`
Save left over postcodes
Only add the postcode we're testing in hooks
Why was this an instance variable?
Change Code.type to Code.kind
Remove comments from ActiveRecord stuff
Add `kind` to code test fixtures
Add spatial index to postcodes
Reverse geocoding
Fix spatial_reference_systems getting dropped by DatabaseCleaner