MacOSX: Run tests without showing the Java cup in the dock

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
WIP: Replace LOGGER with LogService

Sorry for the huge commit, I'll try to figure out how to break it into
more reviewable chunks.

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