"Frame" is more accurate than "global" since when OWF is used, encoder states for each frame have their own struct.
Moves functions kvz_encode_coding_tree and kvz_encode_coeff_nxn from encoderstate.c to encode_coding_tree.c.