Added option for screenshots

Added an option for time stamped screenshots of the test page to be
rendered upon failure or timeout. Helps with debugging remote test page
issues.