Fix an off-by-one, and a late-night dead-brain bug

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Switch to 3D

... because the PGM reader actually returns width x height x 1.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Make sure to catch all Throwables

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add dummy interfaces for not-quite-used Java classes

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a script for convenient testing with Avian

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
WIP: Override MapDBCache

MapDBCache kills Avian at the moment... but this attempt is actually
not good enough to prevent MapDBCache from being loaded (and causing
an Abort trap).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>