ContactsCommon: Fails to import all vcf files

A URI reference includes a URI and a fragment, the component of the URI
following a '#'. The '#' is regarded as separator, and everything between
the scheme separator ':' and the fragment separator '#' will be encoded.
So the URI that get encoded is error when the fileName of vCard contain '#',
and throw FileNotFoundException.

Catch the FileNotFoundException and parse fileName from source uri, if
file exists, prompt as file xxx import fail, if fileName is null,just
prompt as I/O error.

CRs-Fixed: 550399

Change-Id: I2916a54545e9b9110e8820cfddb8ad304aa7f8c2
ContactsCommon: Contact photo in call log can not change in time

When user changed contact's photo, call log will firstly use
cached photo.

Clear cache when data is changed.

CRs-Fixed: 525851

Change-Id: Ide715e6a62bcbd0168a5d97d75bfb73302bae534
add group field for local contacts

- add group field for Phone account,and users could select groups
  from this field for contacts.

Change-Id: I0cf3e740e24752c7e38f838b8896b70ff353b1da
Add import/export contacts from/to SIM card

- add the support to import/exports contacts from/to SIM card
- add the support to auto split contacts according email and
  phone number when export to SIM card
- add the interface to copy contacts during phone and SIM card

Change-Id: I8337bfa34bcffbaed3576389b3951c945eba0400
Support export multi contacts to vCard

- add the Intent for leting user to select multi contacts to
  be exported to vCard.

Change-Id: I831495362ac45ea9ab9c19544fcd8a544fd62434
Support to filter SIM contacts

- when SIM card is disabled or absent,don't show SIM card contacts
- fix the problem that no contacts display when export contacts
  to SIM card

Change-Id: I2687b1b4282f7b57a22907ff1ab0e8e64920fe9a
Filter SIM contacts when airplane mode on

- when airplane mode is on,filter SIM contacts immediately

Change-Id: I34554b85ec598fee3231946480c243554f6ead62
CRs-fxied: 605629
Add dsds feature for two button style

- add the interface to support two button style
- add the support for IP call
- add the resource for two button style

Change-Id: I5043db0bd552077584fef1d0f5e09b28089c4fe6
Correct the key of IP call

- the key of IP call is inconsistent with settings,correct it.

Change-Id: Ifc550c7b040cf71a6dceaaa5dc66c65c92061b3b
ContactsCommon: USIM card contacts can't be deleted

The interface of delete contacts that contain email or anr isn't
opened.

Open the interface.

CRs-Fixed: 618805

Change-Id: I615f712f24838b35b6130287aff4161eacacff3d
Support import vCard from both internal/external storage

- when import vCard file,if both internal and external storage
  are avaliable,it will pops up a dialog to let user select which
  storage will be used.

CRs-Fixed: 605056

Change-Id: I5c90b0bd9141d00885099ffbbc6abcbe932dc5be
Fix export contacts to USIM card failure.

When the email or anr files are full in SIM card, the contacts
won't be saved in SIM card. Drop the email or anr field from exported
contact when the corresponding sim file is full so that name,number
and other fields can be saved in the card.

Change-Id: Icfc31358415bd71429592c4cba71de14a76ce218
CRs-fixed: 614692
Revert "ContactsCommon : Address loader reset bug"

This reverts commit 334d7f20088784aa1b5c18848097922c6b60584a.

Change-Id: I9185f3c4f1ec982cb1e44b83370d061eb167700a
ContactsCommon: Contacts disappear after rotate screen

If user rotate screen, the search result in contact
selection activity will disappear. restart loader could
not work properly.

Destory loader before we restart, and if loader is reset
we should change adapter's cursor to null.

CRs-Fixed: 623866

Change-Id: I6f07fc9ba6aa1728dba07472a26fc38c98101e6c
ContactsCommon: Slot2 name display as "null" when import/export

The string key for get slot2 name is wrong.

Correct the key for get slot2 name.

CRs-Fixed: 624000

Change-Id: I23e9d01bc2edb4ad4c4539796b349a29dca24e85