Experimental WIP to move HDS to Mongoid 4

This includes moving to ActiveModel 4 and get us ready to move
dependent applications to Rails 4.

This is a work in progress and some tests are still failing.
More progress towards Mongoid 4 compatibility