Addaption of scripts to use a global configuration file

Changed scripts/doSM.py, test/run_macros.py and test/produce_macros.py.
Added the configuration limits.config and the script to read the configuration python/LimitsConfig.py.

A guide on how to use the configuration will follow soon.