ssh-menu: Use host instead of name

If fqdn/ip are not specified use the
host instead of the name.
ssh-menu: Remove unnecessary strdups
ssh-menu: Bug fix in merge()

The result of merge() was not
always with a trailing zero.

The commit fixes some minor
things on the way.