Added basic tests for maxctrl. They simply test that the diagnostic commands work.
As the REST API is a part of the core, it is more appropriate for the tests to reside there as well. Further refactoring of the testing needs to be done to allow multiple components to use the same framework but with different tests.
If npm is installed on the local system, try to build MaxCtrl as a part of the core.
The REST API tests are now located under the maxctrl directory. This allows both tests to use the same framework for testing.