Docker network mode

This pull request add `network_mode` option for docker. It only works with docker-py in master branch. I didn't test it against old docker-py version, not sure whether will it work.