GPMONGODB-277 improve support for inheritance in domain classes

* Merge maps and lists in static properties like 'embedded', 'transients' and mappedBy
* Apply mapping closures from base classes as well as derived class
* Check parent classes for 'belongsTo' properties
* Fix issue where base classes are not considered as matches when searching for
  birectional links
* Added test cases covering the changes