Refactoring of the beanshell support.
More logging of SCAPE execution results.
Testing metadata construction