[Azoth] Refactored autocomplete nick getting into GetNickFromState().
[Azoth] Moved nicks generation to GetPossibleCompletions().
[Azoth] Refactored filtering into GetPossibleCompletions().
[Azoth] Support commands autocomplete, closes #1669.