Update package.json
Flip conditional for early return.
Fix claim codes test.
Switch from Q to bluebird
Use some promises in badgekit-instance.js