call Moped::BSON::ObjectId.from_string on the ID only if using Mongoid 3 or higher
call ::BSON::ObjectId.from_string on the ID if Mongoid version less than 3
Merge pull request #2 from toppa/master

Added support to older versions of Mongo >= 2.2.x