feat(engine/history): track complete scope state on act_inst

This commit adds serialization of the complete scope characteristics to
historic activity instances. Instances with complete scope characteristics
(i.e. those that consume a BPMN token and do not produce a new one) may be
queried via historic queries via #completeScope().

Related to CAM-1656
test(engine/history): add boundary act_evt tests

Related to CAM-1656
feat(engine/history): track canceled state on historicActivityInstance

This commit adds serialization of the canceled characteristics to
historic activity instances. Instance with canceled characteristics (i.e.
those that was cancelled by an interrupting boundaryEvent etc.) may be
queried via historic activity instance query viar #canceled().

related to CAM-1656