Add docker-py integration tests aginst the docker daemon

This clones and run the integration tests for docker-py master as part
of the integration tests created on master.  docker-py hits the api
directly and should be a good way to identify regressions in the api.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
registry: add tests for unresolvable domain names in isSecure

Signed-off-by: Tibor Vass <teabee89@gmail.com>
registry: handle unresolvable domain names in isSecure
to allow HTTP proxies to work as expected.

Fixes #9708

Signed-off-by: Tibor Vass <teabee89@gmail.com>
pkg/graphdb: use transactions for transactions

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Merge pull request #9746 from unclejack/graphdb_fix

pkg/graphdb: use transactions for transactions
pkg/units: fix size_test.go compilation

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Merge pull request #9751 from unclejack/revert_9233

Fix pkg/units compilation of size_test
Tweak test-docker-py feature

- move docker/docker-py clone to the Dockerfile
- put "integration test daemon startup" code in a separate file for both scripts to source
- add new test-docker-py Makefile target
- include "python-websocket" package in Dockerfile for running the tests

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Merge pull request #9735 from tiborvass/fix-issecure-for-http-proxies

Handle unresolvable domain names in isSecure to allow HTTP proxies to work as expected
Merge pull request #9741 from tianon/test-docker-py

Add docker-py integration tests aginst the docker daemon