Update deprecated uses of Q.resolve, Q.all, .fin, and .fail.

Closes #57.