tools: backport commit-script-check.sh
tools: backport commit-script-check.sh

from: bitcoin/bitcoin 08f3dbb
original path: test/lint/commit-script-check.sh

dogecoin/dogecoin,patricklodder/dogecoin,dogecoin/dogecoin,dogecoin/dogecoin,patricklodder/dogecoin,dogecoin/dogecoin,patricklodder/dogecoin,patricklodder/dogecoin,dogecoin/dogecoin,patricklodder/dogecoin,dogecoin/dogecoin