add --api-enable-cors on swarm manage

Signed-off-by: Victor Vieux <vieux@docker.com>
Add Contributing doc

Signed-off-by: Victor Vieux <vieux@docker.com>
simplify code

Signed-off-by: Victor Vieux <vieux@docker.com>
Merge pull request #1 from docker/master

sync up with master