feat(localforage): use catch on promises to handle exceptions inside then
Adds promise to package.json dependencies list
Makes localForage browserify friendly
test(api): refactor driver api reject tests to reduce duplication
fix(api): properly resolve the promise if a callback throws an Error
Merge pull request #249 from thgreasi/promisedCallbacks

fix(api): properly resolve the promise if a callback throws an Error
Merge pull request #248 from thgreasi/rejectTestsRefactor

test(api): refactor driver api reject tests to reduce duplication
Merge pull request #237 from iamolivinius/feature-browserifyable

Feature make localForage browserifyable
Merge pull request #235 from thgreasi/promiseThenCatch

feat: use catch on promises to handle exceptions inside then