This reduces number of API calls using docker-machine, since some of the data are cached.
CanConnectwhen acquiring machine
DockerCredentialsto not call it every time, just check the machine state with
CanConnect(consumes one request per build)
Useto unconditionally allocate machine if we can't connect to existing one
@tmaczukin what do you think?