another attempt to record videos only for failed tests

* Video is recorded to a temporary file and moved to the video folder,
  if the test failed. The same is done with 'before' screenshots.

* Properties simplified and refactored. Now it possible to record
  whole test suite and take screenshots for failed tests.