improvements to spatial code

- add index to geometry
- use centroid if not a point
- remove activerecord-postgresql-adapte, is replaced by
activerecord-postgis-adapter