Fix typo and cleanup
Cleanup

* externalize the case-using-equal macro for access in other functions
* set up parsing of move/capture and range signatures.
Add and cleanup functionality to parse movement and range modifiers

(Range modifiers z, q, and g are partially implemented; multi-step items like z[WF] or q[WF] is nyi.