Adjust cm-{beginning|end}-of-*

Point now remains *inside* the braces, so that thing-at-point returns nil
when point is actually right outside a markup.