Added closeOnSelect parameter for single value selects2 widgets

In my usage scenario I wanted to append a single choice select2 widget to a list of items that require complex formatting, however as multiple items can be added it would be nice to be able to use closeOnSelect. Currently it is not supported on single choice widgets.