Fix autocompletion of quoted strings - WIP

Needs some refactoring
Need to use unicode functions in:
    parser.c
    autocomplete.c