Script parameters

This topic branch adds support for input parameters, specified in the first few lines of the script via something like:

```javascript
/*
  @Context context
  @UIService service
  @String firstName
  @String surname
*/
```