Added an action for capturing screenshots

UIAutomation is very handy for taking screenshots (not just for visual checks but also for creating the various screenshots for App Store submissions), so I added a Capture action.