Merge pull request #6 from dblock/mongoid-4x

Fixed compatiblity with Mongoid 4.x and DelayedJob 4.x.
Compatibility with Mongoid4 most recent updates.