Bug 989929 - [Contacts][Refactor] Create Contacts indexed DB library to ...

...support synchronization from the Global Contacts Datastore
I guess we cannot search by more than one fields, was thinking about the search in contacts, instead of using the dom search, use a proper query to indexeddb.

Perhaps we can launch 3 different queries in parallen with promise.all when searching. Is something we will need from the performance team to know if it's feasible or not.