Use a method compatible with mongoid-observers to determinine the version of Mongoid.