Fix bad merge. Stash & resend starting_commit_SHA.

Now we capture the most recent commit SHA when GETting a study, and
provide this as query-string var 'starting_commit_SHA' when PUTting it
back to the repository.