These were parsed but swallowed. This commit expands the transitions to be able to track the APC start, data and end and then adds an `apc_dispatch` method to allow capturing APC sequences. APC sequences are used in the kitty image protocol. refs: #986