#214 Better signal handling
Change hardcoded "0" onto os.Stdin.Fd()
Remove unnecessary part of paths to lxc executables
Fix a race condition in bufReader.

The race condition cen be detected by running existing bufReader tests
with Go's race detector.
Fix a deadlock in CmdStream.

As per FIXME, CmdStream could have deadlocked if a command printed
enough on stderr. This commit fixes that, but still keeps all of
the stderr output in memory.
Remove the options of CmdAttach
Add debug infos
Harmonize the error management. Use fmt.Errorf instead of errors.New
Add some error checking in container monitor
Remove unused variable from container struct
Do not log non-running containers
Fix output in the login command

It was broken because the terminal is in raw mode.

This changeset adds code in the login commmand to do a little bit of
interpretation on the user input (something usually done by the terminal
emulator itself).
Merged Ctrl-C interception by @creack
Comment to explain CmdStream
Merge remote-tracking branch 'robryk/cmdstream-deadlock'
Comment CmdStream a little bit to facilitate future fixes and contributions
FIXME: implement a timeout in TestCmdStreamLArgStderr to avoid blocking the whole test suite when it fails
Merge pull request #250 from metachord/master

Remove unnecessary path parts
Merge remote-tracking branch 'robryk/bufreader-race'
Merge remote-tracking branch 'lopter/master'