Kb standards

This should be a safe merge to adjust closer to standards.
However, there's still work to be done.
@johnnyman727 when you look this over, some notes:

* Check everything labeled with TODO
* Thoughts on style: instead of sectioning out "event handlers", "hardware", etc. (at least in index), might be clearer to add keywords to the front of the methods e.g. hwSetPinWatches hwReadADC. Then you don't have to scroll around looking for the comment block
* Which functions are private?
* Check != vs !==, make sure you're always using the right one
* Need descriptions in readme on every event and function and property