Emits events after render

- `done` and/or `fail` events will now be emit from the plugin after Glue#render has run so
that plugin users can hook into either event to do cleanup, if necessary.
Merge pull request #1 from svizzari/stef/emit_done_fail_events

Emits events after render