Removing Outdated BuildProcessTemplate files

(cherry picked from commit 81bb653d07267776a6e3ffeee6d8fe835c84023e)
Added initial selection of last email item or disable UI if nothing is available.

Conflicts:
	src/Papercut/App.config
	src/Papercut/UI/MainWindow.xaml.cs
Added Chocolatey Package to the Project. Updated Deployment to Support OneClick.

(cherry picked from commit c50228b1be7523655f98edeb238e0315cea9a08c)

Conflicts:
	src/Papercut/Papercut.csproj
	src/Papercut/Properties/app.manifest
Some missing items and changes.

(cherry picked from commit 00881ecb00a02c47d96154a2ef2796601dcc7b9f)

Conflicts:
	src/Papercut/Papercut.csproj
Fixes issue 9833 : cleans extra time zone information from the date in the SMTP header. Also handles DateTimes better in general.

(cherry picked from commit 8568fa4e986011f6b00e5a51fcf88baf9d3661d6)

Conflicts:
	src/Papercut.Smtp/Mime/MailMessageEx.cs
	src/Papercut.Smtp/Util.cs
	src/Papercut/Papercut.csproj
fixed crash on start when there is an email with 0 byte

(cherry picked from commit 3e31db6120c86b1418137b164a7dda56f91078b7)

Conflicts:
	src/Papercut.Smtp/Util.cs
Fix FormatException on empty ReplyTo

Two reasons to fix:
1) MailMessage.ReplyTo is marked obsolete.
2) When raw email contains Reply-To: with no value, CreateEmailAddress
calls new System.Net.Mail.MailAddress(value) which will throw a
FormatException.

Existing method PopulateAddressList will happily parse empty string,
while yielding an empty IEnumerable of MailAdress-es.

(cherry picked from commit a09eced2a70109c203b2186755e1f43f29fba1bd)

Conflicts:
	src/Papercut.Smtp/Mime/MailMessageEx.cs
Added support for "dot stuffing", per RFC 2821, section 4.5.2.

Relevant quote from the RFC:
   -  When a line of mail text is received by the SMTP server, it checks
      the line.  If the line is composed of a single period, it is
      treated as the end of mail indicator.  If the first character is a
      period and there are other characters on the line, the first
      character is deleted.

http://tools.ietf.org/html/rfc2821#section-4.5.2

Fixes issue 9837 - if a period falls immediately after a break it gets
doubled. This is most likely to happen with long URLs, resulting in broken
links or images.

(cherry picked from commit 221942cae51e9bbebc04d2acb07095a1d61c6cbd)

Conflicts:
	src/Papercut.Smtp/Processor.cs
Added CC and BCC to field list aka issue #9836.

(cherry picked from commit 511aad1199f730559d2fcd3bbcde42f3e8b20f27)

Conflicts:
	src/Papercut.Smtp/Util.cs
	src/Papercut/Papercut.csproj
	src/Papercut/UI/MainWindow.xaml
	src/Papercut/UI/MainWindow.xaml.cs
Fixed Issue #6026 -- Supports "Minimize on Close" option.

(cherry picked from commit d0ba2e426f5588a79d00c18d346464df8e866f7e)

Conflicts:
	src/Papercut/App.config
	src/Papercut/Properties/Settings.Designer.cs
	src/Papercut/Properties/Settings.settings
	src/Papercut/UI/MainWindow.xaml
	src/Papercut/UI/MainWindow.xaml.cs
	src/Papercut/UI/OptionsWindow.xaml
	src/Papercut/UI/OptionsWindow.xaml.cs
Changed Processing to Buffered File output for speed, etc. Obviously, could cause memory usage problems for very large emails. Given the low volume nature of Papercut, I didn't thing it would be a problem and the system works better locally.

(cherry picked from commit 41902c8a7fe709b47cd5c3a70f98ab96b1e1b566)

Conflicts:
	src/Papercut.Smtp/Processor.cs
Fix for issue #9838. Could use additional testing -- but works well in my quick experience.

This is to get around a Microsoft bug outlined here: https://connect.microsoft.com/VisualStudio/feedback/details/785710/mailmessage-subject-incorrectly-encoded-in-utf-8-base64

(cherry picked from commit 33373c95cd084b9a84b5d43b27923625113717b1)

Conflicts:
	src/Papercut.Smtp/Mime/MailMessageEx.cs
- Now you can delete a Message with the Delete Key (#9835)

- message Content from last message is now correctly cleared (#9840)

(cherry picked from commit 55a4d77b7492e9dd3dbd7ac7a40329d331c28595)

Conflicts:
	src/Papercut/UI/MainWindow.xaml
	src/Papercut/UI/MainWindow.xaml.cs
Done with task #9832 -- files are now saved in the User Document\Papercut folder.

Also, for existing users, initial run with migrate all .eml files to the proper folder.

(cherry picked from commit 79472a0d772db34d30a587203739ba466b3c4f6f)

Conflicts:
	src/Papercut.Smtp/Logger.cs
	src/Papercut.Smtp/Papercut.Smtp.csproj
	src/Papercut.Smtp/Processor.cs
	src/Papercut/UI/MainWindow.xaml.cs
Fixing issue with email address parsing.

Was failing on multiple email addresses.

(cherry picked from commit 82b015e111139d6fa8645d9454ce4f634400d115)

Conflicts:
	src/Papercut.Smtp/Mime/MailMessageEx.cs