Added validation for paging parameters.

The number of entities to skip and return now have a validation operation performed on each of them.

Closes #713