Add lt_tables_from_query() function
Add lt_tables_from_query() function

This prepares for a future feature of using a persistent websocket
connection to get instant database updates. For this the client
needs to know which SQL tables contribute to the current table view,
which is what this function provides.

bartnv/libtables2,bartnv/libtables2