Send the appropriate sha's when uploading an app

Code was previously sending up sha's of all the files in an application
in the upload PUT. This commit changes that to simply include the sha's
that were present from the resource match (the ones the server already
has) so that the server can piece the whole application back together.

[fixes #59531570]