Make case statements work

This works at the level of the `case*` special form, not extensively tested but should work.