Fixed issues with selectAll/None for option types

selectAll/None methods only worked for ARRAY_OF_LABELS. fixed so that it
works for all 4 types of option definitions
Merge pull request #1 from chet28/master

Fixed issues with selectAll/None for all option types