Add advanced option to set jpg quality used when saving images.

Default to 90.
Add option to change the jpg quality from the save dialog.

Used when saving screenshots and thumbnails.

On Vista or later, it's only shown if JPEG encoding is selected, and
hidden if not. On XP, it's simply grayed out if something other than JPEG
is selected.