Implemented select function

Select function now generates html selects. Also added protected helper
function optionTag to generate html options.
Merge pull request #1 from jfbomb/master

Implemented select function