improve verbose output from wikidump parser
regenerate Sphinx config to put docs in doc, not doc/source
restructure docs, fix math formatting

Use pngmath for now because mathjax doesn't work offline.
fill in the algorithms & implementation ref (incomplete)