Use public_hostname instead of ip in gear registry

Use the node's public hostname instead of ip address in
GearRegistry::Entry and web proxy config
Merge pull request #25 from ncdc/public-hostname

Use public_hostname instead of ip in gear registry