add createDropdown, make getText/setText work with it

* add createDropdown function (HTML SELECT element), which takes a variable number of arguments so that all of the options can be added at create time
* updated getText/setText to work with dropdowns