Add screenshot when UI Automator fails.
Add takeScreenshotOnFailure using celibrity lib and tests.
Better testing and parsing of take screen shot on failure param.
Add screenshotsPathOnDevice property. More tests for ui automator.
Merge pull request #193 from stephanenicolas/master

Add support to automatically take screenshots in case of test failure / error for UIAutomator.