strengthen anchor matches

- strengthen match for anchors
- split id and reftext in embedded section title anchor
- honor escaping of embedded section title anchor
- more anchor tests