Add hostname package with tests
Add hostname package description for godoc
Document package and functions.