initscript: introduce the concept of sections
Gitlab has this interesting feature that allows structuring the output log by creating nestable sections, which can be (un-)collapsed by default or by the user clicking on the associated tick.
Sections are also handy as they will also tell you how long they took.
On the other hand, when run outside of GitLab, sections should not
appear in terminals and should thus look like the regular log
calls
we have.