Work In Progress on getting rails 4 working

* requires big refactors to remove geoscope and arel overrides
* But arel overrides were very questionable anyway