Rails4

All tests run, does not use test server so will need to have riak running first.
This adds support for rails 4.0+
Should these lines have been commented out for the PR? It may be best to uncomment these lines or to remove them.