Merge pull request #474 from aledsage/fix/EffectorConcatenateTest

Fix/effector concatenate test
Use ConfigToAttributes, deprecating ConfigSensorAdapter
Merge pull request #482 from aledsage/tidy/ssh-tool

ssh tool cleanup
examples pom need snapshot repo in order for it to build against snapshot brooklyn
Fix AutoScalerPolicy

- We didn't have tearDown, so for "repeated" test with invocationCount=100
  we were presumably having 100 app+policies running, with lots
  of threads etc
- Also tidied up some of the assertion code to improve messages
Use Entities.destroyAll to tear down tests

- It terminates the management context, as well as stopping the app
Fix JavaEntityTest.testPolicySubscribesToEvents

- test was not creating a new entity, and relied on accidental test
  ordering for the entity field to have been set
Name our threads

- Pass in thread factory wherever we're creating an executor
- Adds TODO comments where we're creating an executor, and we should
  instead be (somehow) reusing the execution manager's pool
LoadBalancingPolicyTest: destroy policy

- so we kill the internal executor of the policy
Make Pool and Lease implement Closeable
fix ssh password issue
Merge remote-tracking branch 'aledsage/fix/IntegrationTests-20130124'

Fix conflicts in core/src/test/java/brooklyn/entity/basic/EffectorConcatenateTest
(converted to java in other pull request, adds destroyAll here)
Merge pull request #485 from grkvlt/closeable

Make Pool and Lease implement Closeable
Fix StartStopSshDriverTest.setUp
AutoScalerPolicyTest repeated test: gc in setup

- Try to fix jenkins failure where the "repeated" test, which runs a
  time-sensitive test 100 consecutive times, fails occasionally due to
  scale out/back taking a couple of seconds longer than expected. I
  suspect it fails due to a slow GC in the middle of the test. 
  Therefore GC as part of setup for integration tests.
Karaf: add dependency on org.osgi:core v4.3

- Because jenkins gave ClassNotFoundException for
  org.osgi.framework.BundleException
Disable QpidIntegrationTest.canStartupAndShutdownWithPlugin

- It relies on quid v0.14 for the plugin we're using, but that is
  no longer available for download. Need to update the plugin code
  to work with the latest qpid.
Upgrade QpidBroker to 0.20 from 0.18
Merge pull request #487 from aledsage/fix/IntegrationTests-20130128

Fix integration tests
Use entity proxy, rather than direct entity ref

- Adds EntityManager interface
- Adds ApplicationBuilder as a tailored interface for defining apps
- Adds Recipe for defining an entity to be created
- Adds entityManager.createEntity(Recipe) for creating new entities
- Adds EntityProxy (a dynamic proxy for calling entities)