Mixin for MongoEngine that manages both sides of ToOne or ToMany relations