restful: addition of `validate` function in RestfulPagination

```python
"Invalid page number ('{0}').".format(self.page)
```