small bugfixes
add functionality to replace printout urls with imgur mirrors in qdb submissions
use bonekins much better logic for fixing printout urls
fix issue where we were clobbering the value of IndexError with KeyError (replace line with except (KeyError, IndexError):