Allowing to use railties >= 3.1 for testing
Merge pull request #10 from Intrepidd/master

Support for rails 4. Closes #8.