INT-2881: Add support for the firstRecord to retrieving JPA gateway

* Add support to Retrieving gateways to accept the ``firstResult`` attribute.

JIRA: http://jira.springsource.org/browse/INT-2881