[tool] move diagnostics code to separate file
[tool] remove diagnostics code from runner
update file graph
[doc] mention environment diagnostic in man page
[db] setup common lpeg patterns
[doc] expand troubleshooting section
Merge pull request #115 from phi-gamma/master

update docs; excise diagnostics from the runner script