provisioners/remote-exec: output to UI

This finishes up #311 by outputting the stderr/stdout to the CLI for the `remote-exec` provisioner.

I also cleaned up some weird race-like cases where we weren't waiting for output to finish copying out. I blame @armon.