Add helper script to register endpoints.

Endpoint registration is something we should be managing via APIs
rather than in-instance scripts becausemachines often don't know their
externally visible addresses, and APIs are often behind haproxy or
other proxies.

Change-Id: I26c59fc069cb57146e7ebb7c19b70c1ce0e77a01
Merge "Add helper script to register endpoints."