Added analyzer class.
Changed the interface of Circuit and Clock to hide some internal
implementations.
Used a analysis class to monitor circuits.
Changed a number of implementation in both the clock and circuit class
to save wire signal history to a log instead of printing them.