Lots of changes to introduce EmfFrag and separate EmfFrag specific code from code working with regular EMF models.