Add gethostname and sethostname
Merge pull request #2 from carllerche/hostname

Add gethostname and sethostname