Some platform services refactoring

Rename ServiceRegistration interface to IServiceRegistration and replace untyped Object with IServiceReference.