Contacts: Check if it's attached activity is running before showing dialog

When dialog is created to show, since the activity it want to attach
is finished, then BadTokenException happened.

Before showing the dialog, check if the activity which it will attach
is running.

CRs-Fixed: 586050

Change-Id: Ibf249c381aed20150086cd68ee4b3ed74dff0c87
Fix to retain selected contacts when change locale

When the user changes language, the selected contacts list
is getting cleared. Add layoutDirection parameter for
configChanges in manifest file to fix the issue

Change-Id: I6fb8944cf1df9569a651b422acfbf0cf5e390cbd
CRs-Fixed: 541829
Filter SIM contacts when disabled

- filter SIM contacts when set photo from gallery
- filter SIM contacts when join contacts
- change MultipickActivity background to holo light

Change-Id: I4b6569880f83e8a098293032e33e653c8053d112
CSVT: CSVT entry in Contacts App.

Change-Id: I63a5848170324461f202133333478a9bc99a8b75
Add the permission to get running tasks.

 - add the permission of GET_TASKS to avoid force close problem.

Change-Id: I0bd232db59264e12a4ca67297071b53bac7b6325
Add IP call for dsds feature

- add two IP call option in menu for each sub

Change-Id: Icdd75b47969c362444a86ea3a8be9bd736617142
Fix no different between phone and SIM when delete contacts

- add contacts photo when delete contacts

Change-Id: I542905b7bdbd91538c923907916c2d0718b33d11