Return sortKey from query result, to allow resuming query.

This is required to be able to retrieve more than 500 changes using the query interface.
Fix indentation
Merge pull request #15 from EnJens/return-sortkey-from-query

Return sortKey from query result, to allow resuming query.