Autocomplete keywords

This *should* add autocompletion for existing tags. @pezholio, can you try it out on yours before merging? I'm pretty sure it works, but it's all JS, so best be on the safe side.