Bugfix and improvement

Bugfix: Dot terminal not replaced when column completion invoked
manually after dot in SELECT clause
Improved: Suggestion of DISTINCT/UNIQUE keywords
Improved: Columns suggested even though column already in place later
after the current cursor position
Improved: Tooltips not shown after line end