Use MemoryCursor code in framework.

That way, we need to fix bugs only once.

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