Added the queuecomplete event that gets triggered when all files finished uploading.

#changelog closes #317
Changed the defer calls to a timeout of 0 instead of 1