execute onEnd callback when finished

- listen to Pecan.queue 'end' event
- call onEnd callback
Merge pull request #7 from JoeChapman/feature/on-end-callback

execute onEnd callback when finished