Fire a final progress event on complete. Don’t fire complete if the transfer is cancelled.
Removed bulky dependencies.
Merge branch 'emitter-component' of github.com:michaelrhodes/peer-file into emitter-component