Improve testing reliability

This is addressing #603

The old syntax was never actually entering the while loop to wait for containers to run.  Fixed that up, and now the test waits for each container in pod to report its in a running state prior to attempting a curl.  This requires #692 to get merged in order to fix the docker container information not getting returned by kubecfg.

Add a trap to ensure cleanup of test artifacts.
What about having the curl on line 58 retry several times?  That way, the test passes sooner sometimes, and doesn't flake if for some reason the images take more than 5s?