Add a way to obtain callbacks into the encapsulated ImageJ 1.x

Triggered by the need to be able to call the `ProgressBar` directly (to avoid event bouncing in `imagej-legacy`), this topic branch adds the infrastructure to offer callbacks to do simple things with the encapsulated ImageJ 1.x instance.

This PR is intended to address #19.