Fix ApplicationResourceIntegrationTest

- Accept stopped or “stopped”.
- Not sure if entirely necessary, but suspect might be based on 
  behaviour seen on jenkins for some other tests!
MongoDB deployment integration test: fix assert
MongoDB deployment: fix infinite loop
MongoDB: fix race in adding shards

- if adding the shard fails, then try again
Fix Riak install on Ubuntu
catalog item id in GUI (clickable) and on REST

in REST API for EntitySummary and PolicySummary,
and in summary tab on GUI when available;
also better spacing and suppressing of absent/redundant information in entity-summary page
Remove binaries in sandbox simple-open-loop-policy

Embedded a Maven repository for a JAR file not available in an online
Maven repository. Replaced this with instructions on how to download and
install the artifact by hand.
Add explanatory text for OSGi test binaries

Links to the actual source code in this repository.
This closes #299
Add comment to RebindCatalogEntityTest about failure

- Non-deterministic failure seen once on jenkins
Fix MonitIntegrationTest

- monitmysqlwithrestart.monitrc was previously hard-coding OS X!
NodeJs: test tidy
DynamicSequentialTask: handle queue() when task failed

- Previously, in NodeJs’s test detectFailureIfNodeJsBindToPort, it
  would fail non-deterministically because of wrong exception being
  propagated.
- If an error occurred in a sub-task, and then the main task’s thread 
  called queue(), that call would fail. That failure would be 
  propagated instead of the more interesting child exception.
On rmi registry port not available, log what config said
Extract portAvailable assertions to NetworkingTestUtils

- Adds NetworkingTestUtils
- Cassandra assertions: if available, then log.info which ports were
  checked.
  Seeing strange errors in jenkins where this assertion passes, but
  then it fails with RMI registry port seemingly not being available.
Fix testTestJavaWebAppEntityStarts
This closes #300
This closes #293
SoftwareProcess: don’t getShellEnv() if supplied

- Calling getShellEnvironment() during jboss.install() was causing it
  to lookup the config, including sysprops. However, that required
  MySql to have a URL before it could resolve.
  On localhost (e.g. integration tests), the jboss.install() held a
  lock (SshMachineLocation.acquireMutex) which meant only one thing
  could be installed at a time - hence prevented MySql from being 
  installed. Therefore deadlock.
- Fixed by guarding the call to getShellEnvironment(), to only be
  done if env was not explicitly supplied.
Tomcat install: don’t resolve config (via env variables)