Work in progress on ajax calls, giving up now because everything needs to be in json rather than a template which is probably bad. May come back to this later.
Revert "Work in progress on ajax calls, giving up now because everything needs to be in json rather than a template which is probably bad. May come back to this later."

This reverts commit 9aabb47667bad17bfc1d2abffc900cf6a76a4795.
Removed halt_search, which stopped search when user selected a previous comment. It was controversial and buggy.