Convert DynamicGroupTest from groovy to java
Convert AttributeMapTest from groovy to java
Convert AttributeTest test from groovy to java
Convert GeoscalingScriptGeneratorTest from groovy to java
Convert BrooklynMetricsTest from groovy to java
Fix for failing ItemsInContainersGroupTest

- don’t do group.addMember if member is no longer managed
Fix NonDeploymentManagementContext.toString

- avoid StackOverflow in toString
- happened in circumstances where entity.toString called
  entity.getConfig, which called entity.getExecutionContext(), which
  threw an exception in checkInitialManagementContextReal, which
  tried to call NonDeploymentManagementContext.toString
Nginx: avoid repeated err logging if member has no host+port
Support for non-UK locales.

The code should be locale agnostic, while the tests are fixed to run in the UK locale.
This closes #2
This closes #3
This closes #4
This closes #8
This closes #16
Fixes for "deploy from Windows"
Use Freemaker raw strings for dynamic values. This will force Freemaker
to treat backslash and ${ as regular text.
The local system temp dir will be used on the entity's remote system. Instead hardcode some universal value ("/tmp"). Analogous to issue #1402.
Shouldn't we raise an error in the case where it is needed instead of passing an invalid path?
Replace ad-hock absolute path check with a method call. Rename existing isAbsolute method to isAbsoluteLocal to emphasize invalid usage.
Manual changes of the URL lead to an incorrect path on Windows.
Try to use the platform provided functionality as much as possible.
Manual URL manipulation leads to invalid results.

The test was working by accident on UNIX - with an absolute path the
beginning of the string would be file:///, which is the expected prefix.
On Windows though the result was an invalid URL. Use the platform
provided functionality to construct the URL and remove invalid
statement in the comment.