TMDM-7442  "exported records can not imported to server again"

* Alternate implementation of initial fix (covers "field in reusabletype not found a database mapping" and "reusabletype not registered" issues).
* Data records reader should reuse the contained type instead of the data model reusable type.
* Fix asserts in inheritance type ordering following new type in test data model.
* Add unit test to reproduce two different issues