added getopts to beginning of test.sh to allow turning on/off of debug macros
explained -d switch in readme
added debugger to main template
Merge pull request #2 from MatthiasKauer/master

Added switch for debug output