Remove hijack from api when not necessary
Update tests to reflect new behavior
Update Push to reflect the correct API
add flush after each write when needed
utils: fix compilation on Darwin

Although Docker daemon does not work on Darwin, the API client will have
to work. That said, I'm fixing the compilation of the package on Darwin.
docs/remote_api: remove trunc_cmd from /containers/ps example

Apparently, this parameter does not exist anymore.
Move docker build to client
Merge pull request #645 from fsouza/fix-api-docs

- Documentation: remove trunc_cmd from /containers/ps example no longer needed.
Merge pull request #639 from fsouza/fix-utils-darwin

utils: fix compilation on Darwin
Make the printflfush an interface
fix compilation on linux
Merge pull request #652 from unclejack/fix-compilation-on-linux

fix compilation on linux
Avoid cast each write for flusher
Merge remove-hijack
Merge pull request #625 from dotcloud/remove-hijack

Remove hijack from api when not necessary
Add "Cmd" prefix to builder instructions
Make sure to have a command to execute upon commit
Isolate run() from commit
Tag all images after pulling them
Make docker client an interface