added optional continuity parameters

now units can have continuous states (the default is not to).  States
are rounded to look up rules, and then the current states drift towards
the new states, instead of stepping directly.  The "cts" field is
between [0,1] with 0 meaning no continuity and closer to 1 meaning
gradual changes.
Merge branch 'master' into josh_testing
merge