Added support for closing the Application Error dialog if it is displayed (happens if Chrome crashes which can be caused by testing this page on the current stable release: http://tinysubversions.com/spelunkyGen/ )
Added the USB debugging dialog to the auto-dismiss dialog script.  It sometimes comes up when adb is restarted, even if we can still talk to the device over adb.
Tweaked the trace capture to output valid trace files (once capture actually works)
Fixed unit test and lint errors
Merge branch 'app-error'