fix docker build and docker events output
Merge pull request #1462 from dotcloud/fix_build_events_output

Fix docker build and docker events output