Add a test to ensure correct submenus with ij1.plugin.dirs

When adding plugins via ij1.plugin.dirs, we really want the plugins to be
in Plugins, not Plugins>DIRNAME where DIRNAME happens to be the name of
the directory in which the plugin .class or .jar was found.

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