Add example of supporting both promises and node-style callbacks.

PR for #408, hope my wording is OK!