If app crashes, start it up to upload crash logs

Added -upload_crash_logs <upload_time> parameter to start
up the same simulator or device that ran the tests if the app
crashed so that logs can be uploaded.