Changes to various code to account for updates

Some test code and other things werent updated
to use the new constructs / errors.

Also, added some generic functions for FirmataUI
More compat changes

Added resources folder with icon and desktop file...
More work on FirmataUI

Added various classes and functionality.
Added new class, PinControl
Various changes, PinControl working
Some more UI progress

Replacing of controls working, enum
stuff still sloppy. Starting events
from controls.
More UI progress