Fix usage example test failures.

Problems were due to print statements that should be logger statements or
non-matching whitespace between expected/output statements for usage
tests.
Refs #9573
Merge branch 'feature/9573_doc_usage_wz' into develop