First draft of context-sensitive auto-completion based on sqlpython.