Device updates, Tests, Test Coverage

1. Started the Device base class. Found in `device.js`
2. Updates to `machine_config.js` to support the `monitor` function as outlined in the design
3. Added a test directory for unit tests.
4. Added a script for jscoverage to show unit test coverage.