Fix compilation problems
Fix that osgi-enabled poms don't build test-jars + generally fix that all war projects should also generate test-jars.