support older versions of Mongo

Older versions of Mongo don't use Moped for IDs. This checks the Mongo version to determine which ID format to use. Ideally I'd prefer to check what's supported instead of a version number (duck typing...), but the Moped gem is independent of Mongo, so just checking if Moped is available isn't sufficient.