Implement solution 1. Nice, but has some bugs
Implement solution 2. Not as nice, but works as original
Fix solution 1 (packaging: bundle)
Separate bnd config from pom.xml, define explicit Import-Package
Fix Import-Package to include '*'
Rename webapp's bnd config file
Add maven-bundle-plugin to openmrs-api
temp commit
Update api module

Move applicationContext-service.xml to
META-INF/spring/api-module-context.xml
Update embedded libs and exports
Update web module embedded libs and exports
Disable loading spring contexts from classpath
Import exported services and validators
Add import com.mysql.jdbc