Implement DomainService.getDomainNames()

Implement the API call getDomainNames() on the DomainService.