Added a cancelUpload function and tests for it.

The removeFile() function now cancels uploads if still active.

#55