Add <optgroup> support to selectInput()/selectizeInput

Not completely finished yet. To be discussed before moving on...