Bring script editor up to speed with script parameters

This finalizes Curtis Rueden's beautiful work to make scripts more consistent with the Java API by allowing context/parameter injection a la:

```python
# @StatusService status
# @Context context

index = context.getServiceIndex()
status.showStatus("Hello, world!")
```