Added logging of test methods.
Added cache directive to travis config.
Fixed bug in setup.js which caused the screenshot directories not being removed before the UI tests.