Really bend over for SunOS' sh, and use `` instead of $()

SunOS' hopelessly outdated sh is not a POSIX shell. It does not even allow
$() to interpolate the output of a program (thereby preventing nested
executions).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Unset CDPATH in the most important shell scripts

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
legacy-imglib1: work around a Bio-Formats method going AWOL

This developer's guess is that this pull request wanted to cook longer:

	https://github.com/openmicroscopy/bioformats/pull/505/

The long-term plan for legacy-imglib1 is to join the dodos anyway,
though, so let's just add a work-around for the time being.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove some obsolete shell scripts

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