Implemented support for option groups to select type prompt.
Fixed options with 0 value.
prefer identity check against undefined for local variables
fix lint errors
tighten up optgroup creation logic
add tests around falsy select option values
remove unnecessary else branch
use idiomatic loop to append groups
Merge branch 'tarlepp-option-groups'