Rails 4.0 support

Hello,

Referencing [Issue#1](https://github.com/Muriel-Salvan/rails-ajax/issues/1) Got the tests to work with Rails 4. The example would need updating though (didn't touch that).


Cheers!