add Paging In Payment Gateway api

1) changes are done in api resource class,
2) in PaymentGateway Read PlatformService and
3) small changes in MessageGmailBackedPlatformEmailService.java classes