Relax dependencies

This PR
* makes the gem usuable with activemodel versions >= 4.0
* fixes a Ruby 2.0 issue
* adds CI tests for activemodel 3.2
* drops tests for 1.8.7