Move most of runtime.Register to container.Start
Improve the error mangement in container.monitor
Move the cleanup into its own function and add some closes
store the pty fds so we can close them when needed. Add some close in order to avoid Fds leaks. Solves #228