Removed error events from ScriptReader and instead use a returned result containing script sources and error messages.
Fixed a bug in AbstractFileLoader where an exception would be thrown if a file was given as path.