Change how python works with docstrings.

I'm using a more general syntax highlighting pattern and I now support
automatic folding in certain cases.