DYN: Moved initialisers have run variable into actor state so that it can be serialised.
DYN: Updated to support latest calvin build, and added test of (de)serialize in generated python script.