Added a ready notification

In my use case I'd like to know if LaTeX processing succeeded before I started actually reading from stream (e.g. in a promise) - therefore I added an event when LaTeX process succeeded.