[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