kew: Fix Closure annotations to match usage.

onSuccess callbacks: Accept functions with typed result and context.
onFail: Accept functions with typed context.

Use typedefs to define onSuccess and onFail callback types.

makeNodeResolver(): Resolves called with error=null when successful.
all(): Remove Promise template (not defined), add Array template parameter.
nfcall()/bindPromise(): Callback takes parameters (at least one).
bindPromise(): Scope can be undefined.

test/closure_test*: File that should compile with Closure to test annotations.
Merge pull request #25 from evanj/master

kew: Fix Closure annotations to match usage.