Per page setting

This allows selecting one of the pre-defined per-page values in the list view. Any custom maxPerPage is added to the list of pre-defined options and the list is sorted, so backward compatibility is guaranteed.