Added Mongoid support and more flexible imports

I've created this pull request in reference to #32 in case someone would like to work on properly merging things.

Made some updates to handle Mongoid imports and some other more flexible capabilities. However, I made these updates quite a while ago and haven't used this gem in a while.