Make copyResource and copytemplate usable by all entity drivers
Adds ApplicationBuilder.Builder.appImpl
Adds MovableElasticWebAppCluster.TIME_TO_LIVE_SECONDS
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
Merge pull request #514 from aledsage/feature/AutoScalerPolicy-notifyOnMaxReached

auto scaler policy emits notification-sensor on max pool size reached
Merge pull request #533 from jdtoy/master

jboss Entities logo refresh. Docs Debian regex example.
Merge pull request #529 from aledsage/fix/for-stackato-example

Fixes required for stackato example
Fix EntityType.name to not say "Impl"

- Previously used entity's getClass().getCanonicalName(), so
  the EntityType.name frequently included Impl.
- Now uses EntityTypeRegistry.getEntityTypeOf to reverse-lookup
  which interface the entity is for.
EntityType.name: incorporate review comments
Merge pull request #535 from aledsage/fix/EntityType-name-notIncludeImpls

Fix EntityType.name to not say "Impl"