Changed from using MongoKit to flask.ext.mongokit

Honestly, there's a bunch of other changes I didn't have time to look at
really.