Fixed link rendering + support link references.
Added "full document" and "tranlate only" modes
+ fixed links rendering in html_render.