cli: shorten hostnames

Make cli output less verbose by trimming search
domains from hostnames.
Merge pull request #44 from spotify/dano/cli-shorten-hostnames

cli: shorten hostnames