Update unexpected to 4.0.0 and mocha to 1.21.4.
Be compatible with unexpected 4 and magicpen, tweaks.