Enhance XML serialization

Fix possible NPEs from class loader
Better class handling
See #16
Move to OSGi via maven plugin
Enhance pom
Release v0.8