Rails4

All tests run, does not use test server so will need to have riak running first.
This adds support for rails 4.0+
Good catch I forgot about it.