Image, Flash: Use as3corelib instead of bloody_crypto for JPEG and PNG encoding.

We obviously cannot use the closed library, although it is noticeably
faster than the one from Adobe… :(
Flash: moxiecode/moxie@1e448064a914c9215e05c35da1453a4ceb703134.