Use javax.ws.rs-api in core.api as in rest bundle.

Core.APi was using different library for javax.ws.rs classes in runtime and compilation. This pull request fix a problem on feature startup.