Added possibility to set maximum number of selectable items

By setting maximumItemsSelected the developer may limit the items selectable by the user.