reimpliment return_stdout? as line-by-line multi-arg match

backward-compatible, passes tests
added new test for multi-arg support