added events onDownload & onListening to get the ball rolling on plugin stuff

`peerflix {magnet} --ondownloaded "./myscript.sh"` gets called when download reaches 100%
`peerflix {magnet} --onlistening "./myscript.sh"` gets called when server goes live, with href as argument