Add autocompletion to editor (copied from brython-in-the-classroom version by Kiko Correoso)