EZP-23414 - As a developer I would like to have DiscoveryService exposed in JS REST Client

https://jira.ez.no/browse/EZP-23414

**THINGS DONE:**
- [x] exposed DiscoveryService,
- [x] JS unit tests