Add Std.instance for hxcpp.

Implemented as Std.is ? cast : null as per php, don't know if
there's something better that could be used.
Merge pull request #1944 from deltaluca/development

Add Std.instance for hxcpp.