Support pagination in storage service REST API

Added code to handle multiple 'pages' of data from the REST API.