Add testCanInstallMultipleVersionsOnSameMachine
Include group membership in application JSON, bi-directionally, just like parent-child relationships.
Added `DynamicMultiGroup` entity.
Fixed failing monit integration tests, and squashed a couple of IDE compiler warnings
Merge pull request #1250 from Nakomis/fix-monit-integration-test

Fixed failing monit integration tests, and squashed a couple of IDE compiler warnings
added CLOUD_MACHINE_NAMER_CLASS ConfigKey to allow custom machine naming
Added CustomMachineNamer
Addressed PR comments
CassandraNodeIntegrationTest: make less brittle

- set jmxPort/rmiRegistryPort with "+" so if previous test didn't
  terminate properly and is still consuming that port then this 
  test can still pass.
Improve msg in EntityTestUtils.assertAttributeEqualsEventually
Add perf logging for sshj
/applications/createLegacy returns wrong Location

JAX-RS specifies that the Response.created(URI) is relative to the
request URI, in this case /v1/applications/createLegacy. This means that
the created Location: header looked like
/v1/application/createLegacy/123456, which is incorrect. Changed method
to build an absolute URI so that JAX-RS does not try to change it.
Fix failures in ApplicationResourceIntegrationTest

Jersey resource tests seemed to get very confused when trying to use the
application create endpoint that takes byte[] and tries to autodetect.
Changed to use the explicit 'createLegacy' endpoint instead.

Sensors come back in the format `"stopped"` but test was looking for
`stopped` without quotes - fixed.
Fix JmxSupport.getMachine, where multiple locations
TomcatAutoScalerPolicyTest: code tidy
Merge pull request #1251 from aledsage/fix/integration-tests-20140313

Fix/integration tests 20140313
Address code review comments:
- Add descriptions to config keys.
- Don't modify shared EntitySpec instances.
- Remove unnecessary bits.
- Always run test setup.
- Strengthen assertions about member sets.
Wrapping variables to avoid errors when the path contains spaces.
More code review fall-out:
- defensively copy Entity sets before creating iterator
- rename convenience methods (now childrenOf, membersOf)
- tidy-up concurrent map declaration / initialisation
Expose the JmxFeed builder created by JavaAppUtils connectMXBeanSensors

Allows entities to call getMxBeanSensorsBuilder and add further polls
without having to create a second JmxFeed. The existing behaviour of
connectMxBeanSensors is unchanged. Deprecates `times` in favour of
the functions in brooklyn.util.math.MathFunctions.