Implement `ContentResolver.isSyncActive(Account,String)`

Currently this falls to the shadowed implementation, which fails
with `NullPointerException` because `getContentService()` returns
`null`.

Since the Shadow is already keeping track of requested syncs, we
can use that to determine if a sync is "active" or not.

One caveat: after the initial `requestSync()` call, all future
calls to `isSyncActive()` will return true, because there is no
way to stop (or simulate stopping) a "sync request" in the shadow.
Merge pull request #1144 from seadowg/master

Sort classes in `assertConfig` to avoid spurious failures on reading the properties back in
Implements CursorAdapter constructor with flags

* Adds CursorAdapter constructor with flags (recommended for API 11+).
* Performs auto-requery only when flag is set.
* Registers observers only when flag is set.
* Rewires old constructors to use invoke new constructor with flags.
* Marks old constructors as deprecated per AOSP.
Support referenced colors in int arrays.
Merge pull request #1147 from mapzen/cursor-adapter-constructor-with-flags

Implements CursorAdapter constructor with flags
ShadowNotification enhancements.

Enhanced ShadowNotification to capture style, progress and usesChronometer
setting. Added ShadowBigTextStyle subclass to capture the bigText,
bigContentTitle and summaryText data. Imported Notification's inner classes
to make code a bit more compact and readable.

Closes #1146.
Merge pull request #1143 from MeetMe/is-sync-active

Implement `ContentResolver.isSyncActive(Account,String)`
Merge pull request #1148 from howaboutwe/michael_color_converter_patch

Support referenced colors in int arrays.
Allow Application class to be specified in @Config annotation.
Made ShadowPreference call real object constructor.

This ensures that Preference objects set their private Context member
variables correctly. Allows PreferenceFragments to be added during the
lifecycle of the hosting activity.

Closes #1137.
prevent duplicate dependencies from importing maven-ant-tasks
Add simple implementation of AccountManager.addAccount()

* Returns correct bundle values depending on presence of activity parameter
* Throws AuthenticatorException if no authenticator matches accountType parameter

As defined here: http://developer.android.com/reference/android/accounts/AccountManager.html#addAccount(java.lang.String, java.lang.String, java.lang.String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler)

TODO: Should check permissions for http://developer.android.com/reference/android/Manifest.permission.html#MANAGE_ACCOUNTS
Add a version of ActivityController.setup() that takes a Bundle and calls the same lifecycle methods that Android calls when restoring saved instance state.
Rename "bundle" parameter to "savedInstanceState", to match Android name.
Merge pull request #1154 from erichaugh/setup_with_bundle

Add a version of ActivityController.setup() that takes a Bundle.
Add support for color resource defined by item tag.
Remove calls to postResume() from ActivityController.setup(). onPostResume() gets called just by doing activityController.resume(). These extraneous calls to postResume() mean that onPostResume() gets called twice.
Merge pull request #1151 from jongerrish/specify_application_in_config_annotation

Allow Application class to be specified in @Config annotation.
Merge pull request #1153 from jongerrish/account_manager

Add simple implementation of AccountManager.addAccount()
Merge pull request #1165 from erichaugh/removeOnPostResume

Remove calls to postResume() from ActivityController.setup().