Implemented capture screenshot on test failure

- feature is enabled by setting up property relativeScreenshotDirectory which point to directory where to store screenshots
- tests verify if screenshot is correctly created