Added binary and octal support for integer representations.

Also extended $monitor to be a statement so that it can be activated
during the simulation rather than just at time 0.