Fix possible syntax error within localgroups

If the strings contains a ' char, it would give a syntax error. This should fix that.

Change-Id: Icb189ce00f793369801abe2ec71c8375a502f619
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_providers_ContactsProvider into kitkat