update linter
Extract travis runner
Also lint helper scripts
Merge branch 'kg-shellcheck' into kg-shellcheck-travis