restful: addition of `validate` function in RestfulPagination

It might be useful to enable validation in `RestfulPagination` by default (`RestfulPagination(..., validate=True)`).