Force close_crash happened when add new mail from Email widget

rootcause: The widget store a email account id when Launcher add a email widget.
If the email account is removed, but the widget acount id is still exsit.

This was merged in AOSP: https://android-review.googlesource.com/#/c/47592/

Change-Id: I4b18e19506ed6afe5d24ab44585cd58c37e221f0
email: "Exchange Services has stopped" - Rain of Exchange Javacrashes

Cleanup some nasty records containing NULL fields.

This was merged in AOSP: https://android-review.googlesource.com/#/c/47571/

Change-Id: Iec5e7e1bebc4beee8fa010c3f9c9ee723fd2cd83
Turkish characters show problem in addressList and subject

Set Locale.US as parameter for toLowerCase() to make sure
that the string is changed to lowercase correctly, e.g.
'ISO-8859-9' to 'iso-8859-9'. The email code supports the
decoding of charset 'iso-8859-9', so that the encoded address's
name and subject, will be decoded and display the correct
content in the phone.

This was merged in AOSP: https://android-review.googlesource.com/#/c/42213/

Change-Id: Id1a7cda0bbf83a7b584ab12336ff66195835a2fc
Potential NPE in Account.

Also, avoid calling close() if the cursor is already closed.

This was merged in AOSP: https://android-review.googlesource.com/#/c/45703/

Change-Id: I5e077a03e437721b8fc7ffb9af284eaa405d901e
Fix SMTP RFC violation for better interoperability

Space after colon violates RFC 5321 (and RFC 821): "Since it has been a common
source of errors, it is worth noting that spaces are not permitted on either
side of the colon following FROM in the MAIL command or TO in the RCPT command"

This was merged in AOSP: https://android-review.googlesource.com/#/c/32640/

Change-Id: Ie5330bf2bd01cd8f734134dadd742cf16df70d7a
Fix a Cursor leak

When cursor is done, the cursor must be closed to avoid cursor leak.

This was merged in AOSP: https://android-review.googlesource.com/#/c/54993/

Change-Id: I8d837dd50473c3b14806f54ca8a78de14178b0cb
avoid cursor leak in email provider

When cursor is done, the cursor must be closed to avoid cursor leak.

This was merged in AOSP: https://android-review.googlesource.com/#/c/52910/

Change-Id: Iaaffed2c4e90dc4b17ae55fcedb242bf890b3dd5
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_packages_apps_Email into cm-10.1