Document creator-defined statements.

Starting with the previous documentation, edited it, and
moved the various functions used into the public Ren'Py
API.
Check in source.

* Check in generated inc files.
* Fix permissions on .rst files.