Add support for Selects with options and optgroups

Also fix some bug in Input_CheckboxGroup that would create unpopulated entries after running populate