Email: New a receiver to handle the checking mail action.

As the recevier need protect the checking mail action by a permission,
but the receiver also handle the secret code action which couldn't
protected by the permission. So we need move the checking mail action
to a new receiver and handle it.

Change-Id: I5e3a5f36ba2512ac8970d3f7650cee16d58d768f
Email: Display the load more view at the bottom of the mail.

 - Display the load more view at the bottom of the uncompleted mail.
 - Save the viewable parts/attachments to Attachment table. And according
   to the viewable attachments' contentId to update the message's body.
 - Notify the mail list to update if the mail's attachment flag changed.
 - Do not show the viewable attachments in the preview interface.
 - Update the sync size configuration item's layout.

CRs-fixed: 642921

Change-Id: I7d349daaf562fe65dfde9baedf69845722a24feb
Email: Do not show "Sending feedback" item if the uri is null in general settings

Caused by not set "Send feedback" invisible when feedback uri is null
in general settings.

Add the judgement to set "Send feedback" invisible when feedback uri is null.

CRs-Fixed: 620380

Change-Id: I062487bd2eb9c64d497bda42a2eaef78bb775db7
Email: Encoded the name of the attachment files.

Caused by the file maybe not named by the English alphabet.
So accroding to RFC822, need encoded it.

CRs-fixed: 648698

Change-Id: I5c0d337323b6db28bfa51abfb732e2f8bc25735f
Email: Update sync status for mailboxs which not load from server.

For IMAP and POP3 account, there are some mailbox do not load the data
from the server. If the user try to sync them, it also need update the
sync status for these mailboxs to refresh the UI.

CRs-fixed: 652818

Change-Id: Ibcc0b4c29832120d3d9285e93adc143cfb7b1e56
Email: Add a summary for "Confirm before forwarding"

Since there is no summary for the setting "Confirm before forwarding",
it might be difficult for the user to find out how it works.

Add a summary for "Confirm before forwarding" to explain more details
about this setting preference.

CRs-fixed: 652151

Change-Id: I29f6a303c1b65a53682ffb8dcd1576d513ac1ff0
Email: Hide the feedback button if nowhere to feedback

The string value of email_feedback_uri in strings.xml presents where
to submit the feedback. If it is empty or invalid, shall hide the
feed back button.

Add the switch to check email_feedback_uri to show feedback button for
the Email module. Add the switch to set the capability for UnifiedEmail
to use.

CR-fixes: 667335

Change-Id: Ia01350417b0b020b03093212ea7ef0ff2d655fe9
Email: Do not set the empty name got from database as name content

The activity will restart and get the name from database when rotate screen.
If name is null, do not set username text and the input message will
disappear.

CRs-Fixed: 670717

Change-Id: Ib1fb6724c51f0ecdcfb2b57108cf71ac7b4f991b
Email: Viewing the attachments of the sent emails

The cachedFileUri is a URI of EmailProvider and not allowed to
access from other APP for the security reason. To view the
attachment, a shareable uri is needed.

Use the authority of AttachmentProvider instead of EmaiProvider to
create the cached file URI. Add the new cachedFileUri to the
AttachmentProvider, and add the query(), getType() and openfile()
operation for it.

CR-fixes: 655351

Change-Id: Ib0f990a4d14bc272c278334591e595e312ed77fb
Email: fix sync size spinner text being cut off

Change-Id: Ia5cbdc279fd5299f96a49d6b351ca1eb47fbe21e
Signed-off-by: Roman Birg <roman@cyngn.com>
Email: cmcc cleanup

* Rename enhancement settings to attachment settings
* move select contacts up to general settings
* Make strings clearer

Change-Id: I7740fe698b8efb80823d7ee40db27ab2ef48fc58
Signed-off-by: Roman Birg <roman@cyngn.com>