Rails4 support

Upgrading the activeresource gem to 4.0 doesn't break any tests.