Fix TOC generation so it uses codecs instead of write.

Writing the index (TOC) files with spanish characters was causing
an error. Now it opens the file for writing with 'codecs'.
Recognize the "no-toc" keyword in status.

A page with "no-toc" is not shown in the reverse chrono.
TOC. For pages like contact form, privacy policy etc.