start testing against Rails 4.1
[WIP] Rails 4.1 compatibility

* only require HABTM if Rails < 4.1
* the ActiveRecord ConnectionSpecification Resolver has changed its initialization process
* adjust specs to no longer use previously-deprecated and now-removed finder methods