fix expression leak

Whoops, turned out that I hadn't filled in the actual destructor
code for expression terms when the last ref is deleted.
re-implement find + since on the query engine

One step closer to removing the old rules engine; next is the
trigger command.
Restructure the README to make it flow a bit better

Also revise the legacy patterns syntax section to explain how the
query term is constructed.