#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.