Replaced OsgiClassLoader by managing TCCL

The OsgiClassLoader is causing problems in a dynamic environment. By managing the Thread Context ClassLoader instead of creating a shared ClassLoader makes it possible to use Hibernate in a dymanic environment.