Generated static methods for creating instance by an IntPtr in the C++/CLI branch.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #364 from ddobrev/master

Generated static methods for creating instance by an IntPtr in the C++/CLI branch