untangled 2017-06-29

@tony.kay Ah cool thanks!

@currentoor nothing says you can't use UUIDs instead of tempids. Many apps have server storage engines that generate ids. Tempids make it easy to use those. Really, what @wilkerlucio said.

@gardnervickers I don't see anything wrong with it. We're just using db->tree for query processing.