Add password-hiding support to print functions.

Added support to replace password values in test output with a string of
asterisks.

- gen_print.py:
  - Created new functions, register_passwords and replace_passwords.
  - Modified dynamically created print functions to use
    replace_passwords.
  - get_arg_name:  Made minor correction in order to correctly create
    composite_line.
- gen_robot_print.py:
  - rprint and rprintn:  Modified to use new replace_passwords.
  - dynamically created print functions:  Modified to use new
    replace_passwords.

Change-Id: If77c899d9a87831b311f4df7ae301fd0bde79408
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
2 files changed