Fix locale when using country codes.
Also check cc for duplicates
Merge pull request #1140 from psm14/bugs/group_mms_local_number

Also check cc for duplicates in group MMS
Test commmit