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

...support synchronization from the Global Contacts Datastore
Same comment than above, let the reject function being called if something is wrong with the getDatabase