Update dev and code dependencies to latest versions.
Refactor tests to use mocha-flight.
Use local version of mocha-flight until master branch is updated.