geo-dns: update member list of entity.hostname changes

Cherry-picked from https://github.com/brooklyncentral/brooklyn/pull/715, into 0.5 branch.

- Useful for some private subnet examples, where the hostname/url gets transformed.
- Transforms tests from groovy to Java.