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

Remove redundant wording.
Merge pull request #409 from jamlen/master

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