remove unnecessary aliases (classgenerator takes care of those already)
Fix object fieldname
Extend namespaced class for better separation (and mgd1 compat)
Make sure target class resolution takes namespace into account
Add some basic tests for mnrelation creation