Update mocha dependency to ~1.17.0.

Change-Id: Idd380e3bcc85e8d612dd3c6ad9f49302ce388387
Update when to 3.1

Change-Id: Ib3abfce1ee0ce8552eee425b58d8cdc20a80f757
Tweak jshint configuration; use strict.

Allow ES6 `Map`/`Set`; tweak settings to match Parsoid, including the
use of strict mode.

Change-Id: I5e3e05529f224b54c2bf76c001c1cfc86e05047e
Update dependencies.

Update dependencies on 'commander', 'es6-shim', 'domino', and
'mocha' packages.

Change-Id: If3b2b52835ad158c4c83ccd88ee2dd762628e769
Switch from `when` to `bluebird` for Promise implementation.

Bluebird is very fast.

Change-Id: I713f1d9c4313c4da8ffa0a381496a787ad405d64
Switch from `bluebird` to `es6-shim`/`prfun` for Promise implementation.

Use standard ES6 promises.

Change-Id: I61718099b756cc089cbf9c112080721c06c29661