Add dynamic quick search in TOC

Quick search matches items and retains their tree structure. Search is fired only after the user has finished typing.