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

...support synchronization from the Global Contacts Datastore
we can do `, reject)` to pass the rejection of  `getDatabase` to the new promise that we are creating.