Merge pull request #1106 from tschneidereit/globals

More globals
Implements totalMemory API
Implement BitmapData()
implements flash.geom.Vector3D