fix docs of the ScriptFunction class

Change-Id: I1d12be2cd2f70316c0b74b8f6866e01854134774
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>