Merge pull request #1357 from tschneidereit/nat

Fix bogus asserts and add new ones to shape rendering
Removes global assert from the ts; and misc ref adjustments
Fixes player running in the differnt thread
Misc fixes to run examples/shell/
Removes shumway.package
Builds bundles
Translates swf/binaryFileReader.ts
Moves createAVM2 into player/avmLoader.ts
Removes global avm2
Fixes swf reading in the iframe viewer
Abstract display object containers
Rename writeStage, make writeDisplayObject public
Make SimpleButton a container, having the current state object as its only child
Removes dup references
Merge branch 'nat' of github.com:mozilla/shumway into nat
Uses right enterTimeline functions in GFX
Fixes inspector.js file to run without parser/player
Port jpeg.js.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat
Remove interface extension.