add websocket support to /container/<name>/attach/ws

This function add the possibility to attach containers streams to a
websocket. When a websocket is asked the request is upgraded to this
protocol..
put the websocket route in the map containing all routes

Instead of handling the websocket differently just handle it as a normal
route and upgrade it to a websocket.
useless type
useless function. forgot to remove it.
reuse the type
Merge branch 'feature/attach_ws' into feature/attach_ws2

Conflicts:
	api.go
Mount /dev/shm as a tmpfs

Fixes #1122.
Make sure all needed mountpoint are present
Improve TestGetContainersTop so it does not rely on sleep
fix docker build and docker events output
switch from http to https
brew: added safeguards in script and changed default branch to 'master'
Merge pull request #1452 from dotcloud/improve_TestGetContainersTop

* Tests: Improve TestGetContainersTop so it does not rely on sleep
Merge pull request #1463 from jpetazzo/https-get-docker-io

switch from http to https for get.docker.io
Merge pull request #1462 from dotcloud/fix_build_events_output

Fix docker build and docker events output
Only count known instructions as build steps

stepN is only used in the log line, so if we only produce the log line
when there's a message, it should do the right thing.

If it's *not* a valid instruction, it gets a line as well, so there's no
reason to double up.
Add myself to AUTHORS
Merge pull request #1477 from kevinclark/builder-fixme

Only count known instructions as build steps
Merge pull request #1460 from dotcloud/patch1

* Runtime: Mount /dev/shm as a tmpfs
Merge pull request #1146 from benoitc/feature/attach_ws

* Runtime: add websocket support to /container/<name>/attach/ws