CMS-3423 Convert wem-api to osgi module. Fixed pom dependencies.