Refactor docker test setup

Copy refactored improvements from change I0b4fdebdf. The intent of
gcurl method in entrypoint script was not clear from the name hence
entrypoint script is refactored to make code more readable with clear
intent. To reduce the overall output from docker setup call "start.sh"
script of runtest container in entrypoint script. Also a new method
"progress" is added which adds “dots” to the output regularly if
waiting is expected.

Change-Id: Ieb5a49a7264a17c121f7b07da99d4fa9f3cbf939
4 files changed