Move cursor to the right place when adding phonetic name

When adding the phonetic name, the Editor fails to get the focus automatically.

Change-Id: I6371508ea595b83e10a89c7a647452bd969a9d17
Signed-off-by: guojingx <guojingx.wu@intel.com>
Check whether the contact exists when saving the contact

Step to reproduce it on Nexus 4 with 4.4.2:
1.Launch Gallery app-->Random select one picture-->"Set picture as"
  -->"Contact photo"-->Random tap one contact-->"Crop picture"-->
  "Just once"-->crop the picture-->press home key
2.Launch People app-->delete the contact which selected in step1-->
  press home key-->Launch Gallery app again-->"Save"

When I set a picture cropped for a contact, before doing the save
operation, I delete the contact, now go on doing the save operation,
because the contact does not exist, the RawContacts is null, so the
function createRawContactDeltaList occurs a crash.

Change-Id: Ie6d26ff188790937e16915e636e4b484cacb12a4
Signed-off-by: Zhangjie <jiex.z.zhang@intel.com>
Signed-off-by: guojingx <guojingx.wu@intel.com>
Merge "Check whether the contact exists when saving the contact" into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Contacts into cm-11.0