Test against activerecord v3 and v4

- Test against activerecord v3 and v4
- Allow failure for activerecord v4