#656 - Make stage history API honor offset.

Caching of the stage history API results was done based on page number, rather than
the offset. This is fixed in this commit.
#656 - Make modifications API honor offset.

Was the same issue as #656, which affected stage history.
#000 - Just formatting a test file.
Merge pull request #657 from arvindsv/fix_stage_history_api_offset

#656 - Fix stage history api offset