BAZYNGO-1169: fixed some warnings and removed debug output
BAZYNGO-1169: complete UploadingFile promise with the results of the
upload HTTP request