Selectmenu: Override menu's _closeOnDocumentClick function to prevent collapseAll and refresh the menu each time it's opened to clean up menu item focus state

This PR depends on the merge of https://github.com/jquery/jquery-ui/pull/1042 into master first but wanted to show the changes I've made.