[FIX] prevent an incorrect state in autocompletion

When going up and wrapping around, the focus was on a hidden separator,
so hitting enter = stacktrace.  Now, the focus goes on the last
selectable list item.-
Merge pull request #846 from odoo-dev/master-autocomplete-quick-fix-ged

[FIX] prevent an incorrect state in autocompletion