Error handling for text and HTML quote extraction when displaying attachments

Improves the error message by adding the attachment ID and directs bug
reports to rt-bugs@bestpractical.com.
Merge branch '4.0/error-handling-for-quote-extraction' into 4.0-trunk