r/o

port comrak quadratic fixes fc2df9bf parent 115c6669

Closes #45.

authored by ~talya committed by ~lotte

1
* use errdefer, actually recover without loss
2
* test failed allocations at various stages
3
* strings: unescape and its dependents in place
4