Fire 'onend' event when close is called. 

If a node is still playing while `unload` is called, the `onend` event handler will not be fired. This patch makes sure that `stop` in general will fire the `end` event.