shell: Use a select-picker to implement cockpit.select_btn.

Fixes #1087
Fixes #1081