Flash 12 API synch

Added Flash 12 Stage3D profile autodetection method.
Flash 12 API synch

Added profile field to show current context profile.
Merge pull request #2641 from pshtif/development

Flash 12 Stage3D changes.