added suggestion popup features, fixed bug

- isCaretVisible is true when caret blinking to invisible, thus caret
visibility was check with getCaretLine()
- suggestion popup also shown when no text is typed (showing all labels)
- suggestion list may be sorted case sensitive or ignoring case
added property to case sensitive sort suggestions