Handle multi-line class definition

Fixes #17
Add ability to debug XML parsing
Fix XML parsing of complex map entries
Release v0.8.2