php-weasel-30 Support for marshalling to/from primitive types/arrays

Simpler type guessing.
Can now correctly guess array types containing nested objects.
Might handle null, but dunno.