optimizations and cleanups

- use constant for endline
- use string template for dlist
- store toc lines in array, then join
- add test for strong option on horizontal list
- join rendered blocks on endline