Improvements in request and response

This pull merge contains some convenient methods in the request and response classes.

In the request a method for adding a colllection of registrationIds.
In the response some attributes for knowing whether we have to traverse the results array or not.