Adding an event to listen to for package state changes (closes #36)

Not sure if this is the best way to do this but it seemed to be the easiest way for now. This will at least patch the potentially harmful ability to be able to install packages multiple times.

Obviously, I'm very new to this codebase (and not too experienced with CoffeeScript either) so let me know if this can be improved somehow.