Starting by making templates of all of the Mocks for all of the agents.  They will be manipulated to accompany testing as it goes along.

Also fixed a bug in the machineAgent where stateChanged() was not called
after message reception.
Also added in break statements to some loops that did not have them.