Added min/maxItems setting for list elements, closes #13