Merging pause logic fix from master branch.
New state processing technique implemented. Processing is done using
anonymous Handlers that define condition, start events, duration and 
end events.
Merge branch 'master' into preemption

Conflicts:
	SMLabTestingSimulation/src/org/smlabtesting/sim/domain/generic/Entity.java