Attach terminal for shipyard.

@diffoperator and I hacked this up...@smathieu did a ton of work on https://github.com/rainforestapp/Docker-Terminal. Enjoy!

It requires https://github.com/dotcloud/docker/pull/1146 to be merged before it will be of general use!