take screenshots when unittests fail, suite.run refactor

Take a screenshot if unittests fail.
Use more meaningful variable names in suite.run.
Print out the full path to the capture when a waitFor times out.
fixes #372