rename class PrepareScript to ScriptFunction

Later, we want to use this class for script function properties that
have a name that's different from "prepare".

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