working with mongoid4

to solve the problem : https://github.com/applicake/doorkeeper/pull/341

actually it is for mongoid4 which use the standalone BSON gem. More information can be found: https://github.com/mongoid/moped/issues/215

this change works fine with me, just need to place `orm :mongoid4` in the doorkeeper.rb