Email split, part trois: AccountService

* Create AccountService.aidl and AccountServiceProxy in emailcommon
* Implement AccountService in email
* Use AccountServiceProxy in Exchange for account reconciliation,
  notifications, etc.
* Move sync window constants into emailcommon
* Split attachment provider utilities and constants into emailcommon

Bug: 3442973
Change-Id: I89dce28b799b193243c07774dab65d830ae62775
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f8b4b56..3a949df 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -370,6 +370,17 @@
             </intent-filter>
         </service>
 
+        <service
+            android:name=".service.AccountService"
+            android:enabled="true"
+            android:permission="com.android.email.permission.ACCESS_PROVIDER"
+            >
+            <intent-filter>
+                <action
+                    android:name="com.android.email.ACCOUNT_INTENT" />
+            </intent-filter>
+        </service>
+
         <!--EXCHANGE-REMOVE-SECTION-START-->
         <!--Required stanza to register the EAS EmailSyncAdapterService with SyncManager -->
         <service