Fixes a bug where JSSC would not shutdown cleanly with OpenPnP, leaving serial ports as busy on Windows.
Adds a close method to ReferenceDriver and Machine which allows us to do a clean shutdown of native resources.
Adds proper disconnect on serial based drivers.