Add optimistic Mocha version constraint of 0.14.x.
Change deprecated Mocha require.