Extract parsing functionality out of Loader.js into swf/resourceloader.js

resourceloader is the new main entry point into the parsing worker, but can optionally and seamlessly also run on the main thread.
Merge pull request #953 from tschneidereit/master

Extract parsing functionality out of Loader.js into swf/resourceloader.js