Add attach to dockerserver

 - Move copyOutput helper from dockerclient to beam/stream.go
 - Implement /containers/<id>/attach and /containers/<id>/wait

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #86 from bfirsh/add-attach-to-dockerserver