Several fixes in services

* Service client can detect that locator doesn't know about requested service.
* Fixed dereferencing of invalid pointer.
* Service manager deletes resolver before other services, because resolver can produce events for other services in destructor.