Close the AutoComplete list when it loses focus. Fixes #981
Build autocomplete-list.