Changed the way it is checked whether an action is allowed such that it is based only on the two isAllowed functions.
Added history tracking for units - multiple turn effects not yet included.
Based checking whether moving or dashing is allowed on the history list