fix double space after autocomplete

The tab event was being preserved through the autocomplete function and applied at the end, resulting in two spaces after every autocomplete. Made changes so tab events are totally handled inside `carto.complete.js` now.