Added Python generator
Clean up. Add support for non-primitive types.
Minor fixes
Added all imports for nested types
Removed duplicate setter. Fix import path
Fix type name
Move destructor to PyCapsule initializer
Do not store fields directly, but only when the messages need to be passed to C
Check for None