Adds functionality: moveToCompleted, moveToFailed

progress, Queue.emit. Changes event subscription syntax.
Shorten long line
change unclear name
match on eventType
Merge pull request #4 from curit/moveToSet-progress-events

Adds functionality: moveToCompleted, moveToFailed