Fixes #NME-226.
Merge pull request #45 from itavero/NME-226

Fixes #NME-226.
fix some stuff + add a Sample app for Stage3D (similar to SimpleOpenGLView) currently doest not work properly on webgl
Flash trace adjustments