Move ICoreModelCapability from core to core.api bundle.

The test-helpers bundle depended on both core and core-api bundles. The core dependency was related to the location of the ICoreModelCapability bundle. This issue could create cyclic bundles when the core bundle depends on the core-api one for testing purposes.