Added qnr and qdn snippets.

Added `qnr` which creates a node resolver and `qdn` which creates a
Q.denodeify function call.