Added Database.dereference() 

Added Database.dereference() for mongoengine compatibility fixes #120