Update to add external hook for page size for paginated results
Adds header and check to response to react to external page size changes. This removes any coupling that the core module could have to the persistence module. Added a call in the persistence module to handle adding the headers to the response.