Updated most of the function to use es6 promise
Updated most of the function to use es6 promise

emilkje/db.js,kir/db.js,brettz9/db.js,kir/db.js,paulcbetts/db.js,paulcbetts/db.js,brettz9/db.js,aaronpowell/db.js,aaronpowell/db.js