export more Html functions and use StateT monad transformer instead of S...

...tate in order to implement Toc extending to subpage in gitit2:
jgm/gitit2/issues/11
Additional exported functions: `defaultWriterState`, `WriterState`, `inlineListToHtml`, `unordList`