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

Fixes #1087.