Port Unit Tests to mocha

I ported the unit tests to mocha and eliminated the previous ci tests.

I also changed the Makefile to run the equivalent grunt or npm task so we don't have to keep changing things in two places.

I fixed the problem where test results weren't shown until the tests finished.

I temporarily disabled the three unit tests that always fail.

NOTE: There is a bug in gnome-terminal that sometimes causes some output lines to overwrite previous lines.  This problem doesn't occur with xterm, konsole or xfce4-terminal.