Fixup embedded HTML images

This patch extracts images embedded inline in html using the data URI scheme and forms separate attachments for them. Doing so overcomes the 64kB limit for thread items and utilizes the data reduplication system of osTicket 1.8.1

It also fixes the drag+drop support for Redactor, and fixes a glitch while scrubbing inline images stripped from the quoted response