Add gammapy/utils/scripts.py and use it in all command line scripts