[Issue #146] Fixing encoding of ampersands and adding test for ampersands in key and value of query parameter
Changing upload and download tests to cancel after first progress block call to ensure that fulfill is called at most once