LiquidThreads stuff:
- Fix bug in thread causing all threads to have a thread_ancestor of 0, making the software think it was a top-level thread.
- Add backwards-compatibility code, recursively follows thread_parent until it gets to thread_parent=0 to deduce the correct thread_ancestor.
- Break permalink link out from Actions drop-down to beside the Actions text.
- Fix backlinks from thread permalinks to include anchors to where you were, making it a nice context link.
- Change another instance of hard-coded HTML into generated HTML.
- Fix Actions drop-down to properly hug the RHS, instead of using a weird margin-right hack.