Change dependency to any rails 4.0.*
Add extra parameter to methods for AREL visit

This is untested, I've made these changes to get things working. Need to
look into what the implications of these changes are.