Autocomplete: Fix assertion message in appendTo option test
Selectmenu: Fall back to .ui-front searching for empty jQuery objects

Fixes #9757
Selectmenu: Refactor appendTo option tests