another attempt to record videos only for failed tests

* Video is recorded to 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.