Add namespace resolution, and unions/enums to boost python generation.
This allows for enums and unions, as well as nesting of
structs/enums/unions. Interfaces are still unsupported.