Fixed compatiblity with Mongoid 4.x and DelayedJob 4.x.
Merge pull request #6 from dblock/mongoid-4x

Fixed compatiblity with Mongoid 4.x and DelayedJob 4.x.