ij-legacy: tell ImageJ 1.x to show the version instead of an empty status

Moved from fiji-compat.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
CodeHacker: refactor the code to get a method or constructor

We already had two identical code sections to get a method or
constructor, and we will want to replace all the getMethod() calls with
getBehavior() calls so that all CodeHacker functions working on methods
will work on constructors, too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
CodeHacker: enhance all method transformers to work on constructors, too

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
ij-legacy: port the icon stuff over from fiji-legacy

Now we can set the legacy mode windows' icon ourselves...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
ij-legacy: port over fiji-compat's -batch-no-exit patch

Fiji has special code that allows scripts to re-use ij.ImageJ.main() by
passing the -batch-no-exit option that prevents said main() method from
calling System.exit().

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