Added support for marshalling arrays of pointers to primitives.

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

Added support for marshalling arrays of pointers to primitives