Replaced deprecated usages for flask and mongoengine
Fixed bad test data
Merge pull request #66 from abn/fix-warns

Fixed deprecated warnings and bad test data