Use containsubstrings matcher in ui_test

This string should be colorized. It appears flakey, but it seems like
this test should never pass.
Speed up some gateway tests

We found that these were sleeping for 5 seconds in some critical loops.
Whoops.
Capture stdout from go get for debugging