Added a helper function for rendering select option tags

I wrote this plugin for my own website projects to deal with option lists and having a preselected option. I think this smarty function is useful and smart.