Refactor invalidation logic.
Merge pull request #1009 from mbebenita/master

Fix setSuper bug.
Cosmetic changes.
Let regions include the area affected by applied filters.
Call back oncomplete when final tag was parsed, don't rely on the swf header's file length.
Merge pull request #1012 from tobeytailor/parser

Fixes complete events not beeing fired for SWF's with incorrect fileLength field
Avoid calling undefined oncomplete callback.
Merge pull request #1013 from tobeytailor/parser

Small parser fix
Redoing promises based on https://github.com/domenic/promises-unwrapping
Replaces usages of Promise.when, .resoved and .value
Removes legacy Promise usage
Fixes testing harness slave
Fixes intermittent failure during frames loading in Flixel
Merge pull request #1014 from yurydelendik/promises-v2

Implementing Promises as close as possible to the spec
Fixes AS2 test to wait for frames to be loaded before gotoAndPlay
Merge pull request #1015 from yurydelendik/flixel2a

Fixes intermittent failure during frames loading in Canabalt
Fixes couple of regressions in the video playback
Merge pull request #1016 from yurydelendik/video-6

Fixes couple of regressions in the video playback
Disconnects animation frame from frame rate
Implement LoaderInfo::loaderURL.