Factored out core API of jooflash into a new module jooflash-core.
This makes the faked jooflexframework and thus joounit much more lightweight.
It also suffices for the flash API needed by upcoming promise-as3 library.