Attach Gerrit logs and known_hosts to failed tests

This should help with debugging strange problems that might occur with
tests.

Change-Id: I6bdb0402be101ba1789feb3dde186d6a4077a781