Adds optional 'quality' param to allow lossy jpeg compression - will default to lossless compression. Updates jpegoptim command line calls to force Progressive JPG output, as they provide a better user experience when loading over a slow connection.