Snap to Grid and Bits to Bytes added

SnapToGrid and ShowGrid added to Circuit.
TODO: Add ShowGrid functionality

Added SetGateSize to Gate, which takes a width and height and sets the
gate's actual size to a multiple of the default gate size.