Add explicit dependency on activemodel

So that it works with Rails applications created with -O option.

Fixes issue #3