Minor refactorings after API change:

* removed cause for the SightlyParsingException in ClassUnitLoader to report parsing errors
* modified ResourceRuntimeExtension to use the ExtensionUtils class