Actually create the hashed index with mongoengine, fix MongoTestCase to correctly clear the collection cache in order to recreate indexes (OPS-1539)