Support testing activerecord 4.1 from git.

This could be changed once Rails 4.1 is released to use rubygems, but it
might also be interesting to test against the stable branch for
regressions.