Runtime Agent API

For special integration scenarios or experimental usages an optional API to the JaCoCo agent should be provided that can be accessed from the running JVM. This API comes as a separate bundle and can be bundled with an application if needed. The API should be designed in a way that it does not require additional dependencies e.g. on org.jacoco.core.

Support operations are:

  * Get agent version
  * Set/get session id
  * reset execution data
  * Dump (and optionally reset) execution data via configured output 
  * Dump (and optionally reset) execution data locally to OutputStream