Screenshotting support

I have added API for creating screenshots and for changing the viewpoint resolution.  The API from Mocha to PhantomJS is achieved using specific console.log's that PhantomJS listens to.  I have tested this and working well.
This catch statement seems like it could get rather chatty with application code also using the console. Maybe scrap it or put the output behind a specific flag?