extract paging params to a AGPageConfig obect.
use the new AGPageConfig object
modified tests to use the AGPageConfig object
proj update
added AGPageConfig object
updated api doc with AGPageConfig usage