Revert "Revert "cannot overwrite registered factory in PolymorphicDomainObjectContainer""

This reverts commit b1f893af27910418273f996a27b6d04b2996516e.
Don't register ResourceSet in JvmLanguagePlugin