Update activemerchant to requiring at least 1.31.x + ransack to 0.7.2

Fixes #2661