Extracted common config code to utils.js
Added travis config
Added mocha as devDep
Added yarn.lock. Travis CI installs yarn if the file is present.
Marked yarn.lock as binary to prevent conflict hell
Moved web pack back from peerDep to dep
Destructuring is not supported in Node v4.3, so replaced it
Node v4 requires "use strict" to allow block scoped let & const
Node v4: replaced "spread" operator with "apply"