Allow a writer to be set

Allow a writer to be set that represents Stdout so that redirection of App output may occur. This is useful in slightly non-standard usage of the cli library.