Merge pull request #1399 from tschneidereit/nat

Update avm2/bin/avm2.js to correctly reference SWFTags.js
Misc, and showing cumulative TimelineFrame statistics.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat
Better text runs (sufficient for rendering, still slightly different results compared to flash)
Merge branch 'nat' of github.com:mozilla/shumway into nat
Stub setFormat.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat
Missing utility
Fix compiler error
First stab at bringing back code caching.

The majority of this patch attempts to remove most of the object references that are baked in generated code.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat
Changes to the way constants are embedded in generated code.

I'm trying to hang everything off of the Abc object, which has a reference to the domain it is loaded in. For instance, instead of baking in references to domain objects I now bake in references to MethodInfo objects which in turn have access to the Abc. Abc Info objects have numerical hashes and are baked in as $(112351231), from these hashes I can infer the original Info objects. Even if code was compiled ahead of time.

The remaining fixes here are to deal with bugs there were exposed.
Add local tests and move failing tests.
Binds AVM1 events
Merge branch 'nat' of github.com:mozilla/shumway into nat

Conflicts:
	src/flash/display/Sprite.ts
	src/player/timeline.ts
Fixes Math object initialization
Contortion to make toString work.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat
Matrix doesn't start off as invalid.
Fixes hitTestPoint on Buttons.

Implements the  `DisplayObject._containsPoint` which works with points in local coordinate spaces.
Keeps a DisplayObject._invertedMatrix in sync with the _matrix as long as no rotation or scaling is applied. This is then used to transform points into the local coordinate space of children when doing recursive containsPoint tests.
Fixes rounding errors in globalToLocal calls.