CMS-3561 Make admin module work in OSGi. Added the rest of admin depedencies.