Added a class ScriptedTimedProcess that represents a ScriptedProcess but with the additional functionality
of timing how long attributes have had their values. A new functions T0(...) and T(...) giving the time stamp for, respectively time in, a specific state (or partial state). These functions can be used in the state transition rule probability computations when the ScriptedTimedProcess are used as the process_class.

Not optimized.