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
Convert EntitySubscriptionTest from groovy to java
Convert OwnedChildrenTest from groovy to Java
Convert KarafContainerTest from groovy to java
Convert TestPortSupplierLocation from groovy to java
Convert PolicySubscriptionTest from groovy to java
Convert SetFromFlagTest from groovy to java
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 #297

* github/pr/297:
  Convert SetFromFlagTest from groovy to java
  Convert PolicySubscriptionTest from groovy to java
  Convert TestPortSupplierLocation from groovy to java
  Convert KarafContainerTest from groovy to java
  Convert OwnedChildrenTest from groovy to Java
  Convert EntitySubscriptionTest from groovy to java
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.