Fix return code from tm_dialog

Two places didn’t set res to EX_OK even though there was no error.

I changed the default return value from -1 to EX_USAGE. Ideally we would be more specific.
Introduce -h/--help for tm_dialog (1.x)

Unlike unknown options, here we print the help text to stdout and return EX_OK.
Add deprecation warning