[Frontend(-Tests)] fix regression in bash style nick completion

if capitalization of possible nicknames differed, tab completion erased the already typed characters
Merge pull request #49 from oli-obk/bugfix/autocomplete_caps