Small fixes and changes towards paging.
Abstract class to help resources that want to implement paging.
Implemented paging, added paging functionality in the DB and CSV resource, added help functions in the AStrategy and AReader.
Merge with feature-paging.