Autocomplete table/column names in SQL editors

Resolves feature request 1535.