fix issues with ClassLoader during de/serialization on OSGi
Merge pull request #62 from dpishchukhin/master

fix issues with ClassLoader during de/serialization on OSGi