Switch to Modern Mode: Make sure to use the *correct* context class loader

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Ensure the correct context class loader already in LegacyInitializer

This is actually "more correct" than the previous commit, but let's keep
both, just for safety reasons (somebody enterprisey might reset the
context class loader between LegacyInitializer and Switch to Modern Mode).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Defensive programming in DefaultLegacyService

When run in ij-legacy's tests, we cannot assume that there is a default
user interface at all.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Temporarily bump the version of the ImageJ 1.x dependency

ImageJ 1.48r has a critical fix regarding redirecting error messages that
we are about to use.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Verify that Switch to Modern Mode works

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Intermediate release of ij-legacy

A lot of things happened in ij-legacy recently. To provide a smooth
upgrade path for Fiji, let's deploy an intermediate release ij-legacy so
that fiji-compat can already support the new startup strategy while
falling back to the old one. In particular, Fiji will need to implement
the plugin types defined in imagej.legacy.plugin.*.

This change makes an intermediate release of ij-legacy, beta 7.7.1, that
relies on beta 7.7 of the rest of ImageJ2.

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