Make copyResource and copytemplate usable by all entity drivers
Adds ApplicationBuilder.Builder.appImpl
Adds MovableElasticWebAppCluster.TIME_TO_LIVE_SECONDS
fix for nginx on osx
aled's comments addressed
Merge pull request #530 from pveentjer/debian-noninteractive-fixes

debian ec2 fixes (mysql + php5)
Merge pull request #532 from andreaturli/nginx

fix for nginx on osx
Adding Debian example to brooklyn.properties.
Updated jboss logo. AS6 and AS7 entities updated to reflect change.
Add and fix NginxEc2LiveTest

- Test nginx on different platforms (debian, etc)
- Fix Nginx install on debian: if gcc already installed on standard
  distro, don't try to install it because caused `apt-get install`
  to fail.
- Adds AbstractEc2LiveTest.
Add SoftwareProcessEntityTest.testReleaseEvenIfErrorDuringStart

- Trying to reproduce problem where VM left running in aws-ec2
  by nginx; but clearly this wasn't it.
- And tidies test with setUp/tearDown methods.
Rename NginxAmazonTest to NginxWebClusterEc2LiveTest
Add <MyEntity>Ec2LiveTest for various entities

- Convert MySqlLiveEc2Test to java, and use new format
- Convert PostgreSqlLiveTest to java, rename to PostgreSqlEc2LiveTest,
  and use new format
- Convert ActiveMQEc2LiveTest to java, and use new format
- Add MongoDbEc2LiveTest
- Make JMSBroker @VisibleForTesting methods public
- Add TomcatServerEc2LiveTest
- Add Jboss7ServerEc2LiveTest
- Add Jboss6ServerEc2LiveTest
- Add KarafContainerEc2LiveTest
- Add RedisEc2LiveTest
- Add CassandraNodeEc2LiveTest
- Add RabbitEc2LiveTest
- Add QpidEc2LiveTest
- Add ActiveMQEc2LiveTest
jcloudsUtil.getFirstReachableAddress retrying

- Temp fix? Retries for a given period of time, rather than just
  a maximum number of attempts that jclouds does here.
- Should really use one of the other clouds config options.
AutoScaler: calls listener if max size reached

- tracks the "unbounded pool size" (i.e. what it would be if there were
  no max pool size), and calls a listener if this goes above the
  max pool size for a sustained period of time
AutoScaler tidy: extract SizeHistory class
Fix REST's ConfigSummary.defaultVal serialization

- When config key's default value is not json serialisable, was getting
  500 errors.
- Fix by just sending String representation of the default value
AutoScalerPolicy: support reconfiguring config
AutoScalerPolicy: emit maxSizeReached sensor

- Instead of calling listener, emit a sensor event on the associated
  entity
AutoScalerPolicy maxSizeReached: incoroporate review comments