let RestService interface methods return either JsonpRequest or Request

Currently RestService methods must return void, but this makes
cancellation of requests more difficult. By allowing those methods to
return JsonpRequest or Request any request can be easily cancelled.
tests for methods returning Request or JsonpRequest
Merge pull request #124 from ccronemberger/master

change to allow cancellation of requests