Added support of radios and checkboxes in dropdowns
Refactored code for append and prepend in forms
Refactored code for dropdowns