fix default log format

Fix the way we set the default log format string so
it includes the process and thread identifiers.
remove unused argument from register_and_load_opts

Change-Id: Ic97d444d14de47230e040624fc718cde45cda6c7
fix option registration in debugger

Change-Id: I7a757862a1deeee42593a9953e75cf3294882539
Merge pull request #93 from dhellmann/cleanup-option-handling

Cleanup option handling