Goodbye old query and replace views

Get rid of hacky prototypes now that db-based queries are
more powerful
Tweak query name
Remove query from query otls and ensure all queries get logged
Order db-nodes by line and use them when stamping
Cleanup current-file to take existing ed objects
Add default type if none given

Doesn't force user to know about types
Rename cmds to assume db by default. Live ones now require prefix
Semtag import wip