SAK-21717 Don't allow users to set batch size too large.

If the administrator sets the batch size to be more than the maxResultSize we reduce it on init() so that the batch size is the size of the maximum results.

git-svn-id: https://source.sakaiproject.org/svn/providers/branches/SAK-21717@132521 66ffb92e-73f9-0310-93c1-f5514f145a0a