ContactsCommon: Can't share visible contacts

After user unmark all contacts in customize, Contact will update
account's ungrouped visible to false, it will cause the contacts
can not be share.

Update the account's ungrouped visible to true, when user select
contacts to display as specific account or all accounts.

CRs-Fixed: 624002

Change-Id: I6978cf7c86530b4027507a8c9fdacc159e48e7af
ContactsCommon: Display sim contact when set the phone contact to display

In this case, we try filter a specified account when one sim card is
disabled, so we will append different account name to the query parameter,
it will cause the query can not distinguish which acount name is used for
filter the specified account and which is used for disabled sim card's
contacts, so it will cause the display error.

When we filter a specified account, it not necessary to filter the disable
sim card's contacts at same time, so remove the diabled sim filter when we
filter a specified account.

CRs-Fixed: 618811

Change-Id: I5ef18b05c9a6ce676164e3054178f31753cfa40e
Contacts: Support fuzzy search for telephone number in contacts

ContactListItemView only show the phone number that match
query string from number's head (designed by contains()) through
showSnippet().

Modify the function contains() and make it return the match
index for substring in different position.

CRs-Fixed: 614723

Change-Id: I731f8ce184e476b255852cffd9d0842bd76df43d
Contacts: Fix the search result can't highlight.

The method of indexOfWordPrefix() can't compare the next word of name
when the first word of the name is not match the input word.

Change the algorithm,make sure it will compare every word of the name
and highlight matched word.

CRs-fixed: 614740

Change-Id: I52c2360f64a306406f865f9cc5e7c04b1d0f7927