beam/examples/beamsh: use beam.Router to simplify 'logger'
beam/examples/beamsh: simplify commands by always creating and sending stdout and stderr for them