select, menu: Unify mods `type` and `select` in favour of `mode` (close #800)

cc @veged @mishanga