Add arithmetic coding support

Most software is unable to view JPEG files that use arithmetic coding. Nevertheless, might as well add it as an option.

Also, libjpeg-turbo as it stands today does not work with -arithmetic and -scans which is needed by jpegrescan. Latest SVN fixes this.