Split out ‘well-behaved-plugin’ test to ensure that we test with an empty build directory

+review REVIEW-5246
Reinstate some previously ignored test coverage due to model registry changes.

+review REVIEW-5264
Mark off some completed stories.
Add story for attaching non managed types to managed types.

+review
Add support for declaring unmanaged properties of managed properties.