Merge pull request #797 from tobeytailor/gfx

Fixes regression in #789
More reduction of interpreter stack length changes

plus some cleanup in the form of breaking up overly-long lines and removing dead vars
Micro-optimizations in utility functions
Merge pull request #795 from tschneidereit/master

AVM2 interpreter and utils optimizations
Removed duplicate error definitions
Merge pull request #798 from tobeytailor/gfx

Fixes rounded rectangles
Throw correct error for non-function values passed as listeners to [add|remove]EventListener
Throw correct error for for invalid ctor arguments to BitmapData
Throw correct errors for various DisplayObjectContainer methods
Throw correct errors for various Graphics methods
Always expect SWF version to be set. Assert it.
Throw correct errors for various Transform methods
Make the linter live happily in the newfangled throwError world
Use notImplemented instead of throwing strings around in URLStream
Throw correct errors for various functions in stubs.js
Merge pull request #802 from tschneidereit/master

Correctness-fixes in dealing with incorrect scripts
Support Flex-embedded bitmaps

Including reftest
Log error occurring during promise resolution to console in debug builds
Remove superfluous image from flex-image test
Fix linter issue