Add a Module class for use with script input parameters

The easiest way to handle input parameters is really to have a Module and
pass it to the CommandService.

This is what we will do with scripts, too, so we need a special-purpose
Module whose only goal is to populate input parameters.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Support input parameters in scripts

With this change, the script service will parse the first few lines for
patterns of the form:

	@Class name

It will stop at the first line that contains at least one alphanumeric
character but no '@' character.

If any such input parameters are found, they will be populated via the
CommandService.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a proper JavaDoc for the Javascript test

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
JavascriptTest: simplify the code

Recent changes allow us to instantiate the SciJava context with a
given service interface.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
JavascriptTest: add a test for input parameters

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script inputs: set a helpful dialog title

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