ODE-984. OSGi fixes. Thanks Mateusz for contribution

git-svn-id: https://svn.apache.org/repos/asf/ode/branches/ode-1.3.6.x@1436082 13f79535-47bb-0310-9956-ffa450edef68