Catch Grit exceptions and throw new equivalent Gollum errors. Add methods for setting Grit timeout and max filesize.