Close the AutoComplete list when it loses focus. Fixes #981
Build autocomplete-list.
Merge branch 'dev-master' into dev-3.x