Added option to set gDebug from InitRootHandler's parameters

This change is useful when trying to determine what ROOT is actually doing.