tweaks to dump script

allow to specify defaults
disable output if run non-interactive
set default level to 3
Merge branch 'master' of github.com:PecanProject/pecan