Documentation and refactoring.

- Move script directory management from Script to ScriptActivity.
- Remove onGoToComponent from the IScriptListener and call the activity
directly.