Rails 4.2.0-rc1 support

Fixes: https://github.com/byroot/activerecord-typedstore/issues/20

Things left to do:
  - [x] Workaround the warning
  - [x] Blocked by a bug upstream: https://github.com/rails/rails/issues/17900

Otherwise everything is green.