Replace type with var_export in thrown exceptions in Criteria.
Change PaginatedResultSet.

Remove offset.
Remove limit.
Add originalCriteria.
Rename criteria to paginatedCriteria.
Add reset().
Change rewind().
Change constructor().
Change count().
Change valid().
Change exceptions to setPageSize().
Change getCriteria().
Change setCriteria().
Remove initialize().