ORM agnosticism: do not `require activerecord`, and instead only load the ransack AR adapters if AR has already been defined

Fixes #296