Refactor kokkuri into a CLI

Refactored all shell scripting within shared GitLab CI jobs into a
`kokkuri` CLI program (written in bash for now). This should allow for
more flexible (re)use and better testing.
5 jobs for review/refactor-kokkuri-as-bash in 9 seconds (queued for 11 seconds)