make test more resilient

These prevents test from breaking due to upcoming addition of --debug
option on all commands.
support --debug option to enable all debug messages
allow UR_DUMP_STATUS_MESSAGES, UR_DUMP_DEBUG_MESSAGES, and UR_COMMAND_DUMP_DEBUG_MESSAGES
feature merge: support for --debug option on commands