* Resolving #1492: No longer trying to make WeDo2 backwards compatible with Scratch Link API v1.0.
* Closing the socket on all BLE/BT errors.
* Adding BT disconnection.
* Starting on #1491: use 'startNotifications' instead of 'read'. Still need to make backwards compatible.
* Fixing #1489: WeDo2 set light color block should wrap values to 0-100.
* Fixing #1488: WeDo2 should not clear LED light on stop button.
* Fixing to support negative LED light color inputs.
* Removing a binding.
* Using wrapClamp for inputHue for LED color block.
* Adding WeDo2 connection/disconnection over Scratch Link BLE.
* Testing motor and LED output.
* Reading sensor attachment and registering for sensor notifications.
* Motor indexing.
* Some refactoring notes. Moving some functions around.
* Refactoring and enums.
* Removing some comments
* Fixing linting error.
* Fixing tilt reporter values and added stopAll bound to stop button to stop piezo, LED and motors.
* Add motor rotate, without coasting yet. Fixed some todos.
* Removing logging.
* Implemented motor set position, motor set power, and beep note for time blocks. Changed labels on motor blocks. Tracking motor speeds for all ports.
* Fixing motor ports to 0-3 and then output bit field when sending commands.
* Added stop all motors with stop button. Added port masking function. Some cleanup. Moved beeping up an octave.
* Combine device list polling and sensor polling into a single timeout call, device list requested every 20 times.
* Don't reset sensors on device update. Don't store undefined sensor/motor values. Some comments.
* Fixing some linting.
* First microbit gui tests
* Fixed JSONRPC inheritance. Renamed ScratchBLE/ScratchBT files. Removed ScratchBT test code from Microbit extension. Renamed addLine to log.
* Fixed log comments. Removed addLine from Microbit.
* Adding auto-connect to Microbit at extension loading. Adding hack for displayText block to Scratch-Link.
* Resolved merge conflicts and brought in latest microbit extension example code.
* Updated microbit write tests for displayText and displaySymbol blocks. Some linting.
* Some linting and adding of BLE Characteristic consts.
* Linting fixes.
* Moving micro:bit device connection code all to the MicroBit class, decoupling Scratch3MicroBitBlocks from connection code.
* Removing old disconenct handlers from MicroBit class. Moved service into new BLEUUID data structure.
* Renamed _write to _send. Moved all BLE encoding concerns to the _send method.
* Using the util log. Some linting.
* Added _read method to MicroBit class. Renamed _send to _write.
* Some linting and formatting comments.
* First pass at peripheral chooser pattern for ScratchBLE.
* Testing characteristicDidChange events, and some changes to ScratchBLE on ready events.
* Refactoring work on PeripheralChooser and ScratchBLE.
* Some variable renaming and method signature stubs.
* Peripheral chooser method signatures.
* Moved base64 encoding/decoding to util. Some method signature formatting.
* Adding test stubs for new util and io classes.
* Adding test stub for MicroBit extension.
* Clean up for PR.
* Clean up for PR.
* Final cleanup for PR.
* Removed logging to console.
* Adding 'btoa' and 'atob' node modules and using them in Base64Util.