Moved resolution of root EClass in fillResource so the same resourceSet can be used (e.g. reuse URIHandlers).