Refactored `options_for_select`, see commit 10a6ea22607beeacfa6fab5be62f7530f0791c36

Note test `test_collection_options_with_preselected_value_array_and_priority_values` where the selected values are from the priority and non-priority options.