Make Pool and Lease implement Closeable
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
AutoScalerPolicyTest: decrease invocationCount

- was still failing in jenkins when run time-sensitive test 100 times
Add "Acceptance" profile; exclude from integration

- For tests in group "Acceptance", exclude them from the integration
  profile
- Add an "Acceptance" profile for very long-running tests, which will
  be put in this group
Fix AbstractSoftwareProcessSshDriver.copyFile

- method body had accidentally been deleted!
Fix TomcatAutoScalerPolicyTest: allow port range

- instead of using a (brittle) specific port number, specify a 
  port range