Use file.write for output where appropriate
Display non-inline doc sections at top of ToC

They are separated by an <hr>

Tweak horizontal rule appearance
Add tocLevelTopSection config

Limits table of contents depth for the non-inline markdown docs
Reformat long line
Avoid extra glob - causes problems when generating into existing tree
Allow override of config file when using dokx-update-from-git