Merge pull request #363 from ddobrev/master

Improved the handling of numeric default values
Generated static methods for creating instance by an IntPtr in the C++/CLI branch.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>