Add support for reStructuredText, and --debug mode

This has an easily-resolved conflict with 1352c57 from
https://github.com/rtomayko/shocco/pull/31