Fixes xhr.upload event listeners
Adds Editor.upload mocha specs