Tweaks to examples

Use an error object as rejection reason in the Github example
Show how to use the PromisePlugin before listing the full code