Plugins: add "after_finish" event hook

It also passes the created pull.