Make CLI tool handleUserArgs() configurable.

bin/cli_tool.js
	-Allow a custom stream to be passed to `handleUserArgs()`, so
	that the CLI tool can be easily wrapped.