MultiAutoComplete wrong behavior when editing without changing entry.

This pull request fixes some issues linked to the edit mode in the MultiAutoComplete.
Especially, when editing an entry and, immediately after, focusing something else, the entry stays in edit mode until the field is focused again.
Also, this pull request fixes some errors logged in the console when editing free text entries.