Add shellcheck job to CI and fix warnings
- d/salsa-ci.yml: Add shellcheck job
- start-statd: Fix shellcheck warnings
- init: Fix shellcheck warnings and info, thanks to наб (Closes: #1017869)
- d/*.bug-script: Fix redundant use of cat noted by shellcheck
This goes on top of !24 (merged).