Use scutil for hostname on OS X

`hostname` can change when using laptops, depending on DHCP setups etc.  A
problem if you travel a lot with your laptop.

On OS X, `scutil --get ComputerName` will return a consistent answer.