Fix order of avm2 references

Fixes the order of avm2 dependencies at least enough to make it through initial evaluation of a combined avm2.js file as produced by tsc.
Fix order of gfx references

Fixes the order of gfx dependencies at least enough to make it through initial evaluation of a combined gfx.js file as produced by tsc.
Fix order of flash.ts references

Fixes the order of flash.ts dependencies at least enough to make it through initial evaluation of a combined flash.js file as produced by tsc.
Remove some player-related references from flash.ts/references.ts
Move global declaration of Options objects into swf/options.js

No need to do this explicitly in shumway.package.
Remove references to non-existing or non-required js files from shumway.package