Upgrade mocha
Convert ServiceRegistry into a class

Note that the test for all servers being created when the CommandLineConfiguration is given a single port is a bit different than the other tests.