VBID-2259 jquery promise tools

* `#settled` returns a promise that is resolved when all deferreds are not in
  the "pending" state
- `#all` returns a promise that will resolve if all deferreds resolve and will
  fail if any deferreds fail
- also npm run lint

Change-Id: I8bf385c85c0264a33f13012bb6d5bb7381222902