Support for Stage3D rendering

Added initial support for Stage3D rendering, including the new STANDARD
profile.