Pin: Added getPinOtherSide
Geo: Substituted ugly ternary op
Merge
Formatting consistency
Added callback interfaces.
Pin: Added getTrace()
Simulation: Can now determine what components are affected by a pin
Moved functions into Simulation
Pin: Added hasIoState()
Added Stateful interface
Junction: Now has logic level.
Junction: No longer updateable
Sim: Some components are now stateful
Getting started on sim algorithm
Snapping prototype: Added snap to left
Added IoMode and updated sim classes with it.
Sim: added more comments
Pin: Added getIoMode()
Simulation: Notes
Gate: Removed redundant abstract method