rst-directive.py for docutils 5.0
Docutils 5.0 change to using a new object-oriented directives interface and the old rst-directive.py didn't see to work anymore. So I updated it. I've attached the new version.
I could generate a patch if it is preferred, but thought I'd just submit the whole file for now.
Reported by guest