add uploadedBytes() to track how many bytes have been uploaded
Created by: huetsch
This resolves https://github.com/NebulousLabs/Sia/issues/2467
Currently an API caller can't accurately measure upload throughput because the upload API fields don't have information about how a file was chunked or padded. This PR directly exposes how many bytes have been uploaded via a file's contracts.