Refactor of the Tenants API.

The Tenant API now allows for updating both the displayName as the
hostname.