edlio/EmailReplyParser — pull request #1 by daniel-choi (2014-02-27 00:09:41+00:00)
Title: Fix parsing abnormal quote headers

This branch adds functionality to parse an email with different(abnormal) quote headers.

Some of the examples that can be parsed are:
```
From: Example email >
Reply-To: "reply-to-1231223@example.com" >
Date: Monday, February 24, 2014 1:48 PM
To: Homer Simpson >
Subject: [Support] Re: Example Subject
```
```
From: Support [mailto:support@example.com]
Sent: Monday, February 24, 2014 12:27 PM
To: Homer Simpson
Subject: [Support] Re: Example Subject
```
```
________________________________
From: Example Support [support@example.com]
Sent: Tuesday, February 25, 2014 2:58 PM
To: Simpson, Homer
Subject: [Support] Re: Example Subject.
```
```
Date: Monday, February 24, 2014 12:27 PM
From: Support [mailto:support@example.com]
To: Homer Simpson
Subject: [Support] Re: Example Subject
```
```
To: email@example.com
From: support@example.com
CC: email2@example.com; email3@example.com
Subject: [Support] Re: Exmaple Subject
Date: Wed, 19 Feb 2014 15:47:31 -0800
```

Also, it now checks quote headers paragraph by paragraph rather than checking the whole email text (which can be very expensive if the email is very long).
Reversing the lines are now removed (but still using bottom-up approach) for clarity and simplicity.