Wrapped fields of structures with properties.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Added a test for unions.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Fixed a regression when marshalling arrays. Migrated the C++/CLI back-end to property usage.

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