Fix NodeJsWebAppSimpleIntegrationTest

- Ensure check port availability early, so get nice error message
  for it.
  TODO other entities should probably follow same pattern?!
- copyInstallResources: don’t use env for create-install-dir,
  in case sub-class is setting lots of things or that would
  cause a config value of type attributeWhenReady to be resolved
- Code tidy: Networking.checkPortsValid
Fix MongoDBReplicaSetIntegrationTest

- need to retry addMember/removeMember if first attempt failed
  (e.g. because primary was not yet stable, or attributes of
  primary were temporarily out-of-sync)
- code tidy of MongoDBReplicaSetIntegrationTest
Fix NginxClusterIntegrationTest
Attempt fix for GeoscalingIntegrationTest

- Fails in jenkins but nowhere else (not even on same machine)
- Add more logging to GeoscalingIntegrationTest.StubHostGeoLookup
- Tidy up AbstractGeoDnsServiceImpl.inferHostGeoInfo: use
  Networking.getInetAddressWithFixedName even for hostname, in case
  the hostname is an IP for that entity!
Fix SesnorResourceIntegrationTest
Fix BrooklynJacksonSerializerTest

- Pass explicit Accept: application/json
- On jenkins was failing as though default is text/plain, but
  test assertions except to get back json. So be explicit.