add support for capAdd

@cjellick This is the same PR from a different branch @ibuildthecloud 
Actually this entire test should be moved to test_docker.py