Adding AbstractService#isLastPage method so as to check whether the response contain last page of resultset.
Fixing phpunit errors.
Merge pull request #13 from lijupm/master

Adding AbstractService#isLastPage method so as to check whether the response contain last page of resultset.