Tested and fixed up to MongoEngine 0.8.1.
Test on multiple versions.
Having warning as errors is too strict.
Merge pull request #8 from wlanslovenija/libraries