refactor transmit function, move it into _uploadFile; also fixing progress report when resuming an upload
refactor transmit function, move it into _uploadFile; also fixing progress report when resuming an upload

Contagious06/tus-jquery-client,tus/tus-jquery-client,Contagious06/tus-jquery-client