Add a simple BeanShell version of the widget demo

Many features are not available yet from scripts, but it is a start.