fix minChars calculation when using triggerChar
adjust lastWord calculation if minCharsNoTrigger is disabled
fix onTriggerChar no being called when @ not at beginning of substring
hide result list when the query is empty

i.e. when you go from "@" to ""