Merge pull request #63 from ddobrev/master

Marshalled pointers to primitive types as such instead of using IntPtr
Fixed the generation of calls to members of nested classes.

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