Take a screenshot when a test fails

Paired with: Kartik Mistry
Bug: 58040

Change-Id: I18ddd4c4fec2098636bfc1cc8ef7802f0a3bfe93