Use AutoService for creation of Service Loader Metadata

This PR refactors the project to use AutoService for service loader metadata generation:

- Updated poms with `AutoService` dependency
- Cleaned up osgi imports in several poms
- Added `@AutoService(ApiMetadata.class)` annotations to APIs
- Added `@AutoService(ProviderMetadata.class)` annotations to Providers