Change the type signature on Q.resolve, and add Promise.prototype.delay

Hello @x-ma, 

Please review the following commits I made in branch 'nick-compiler'.

e929ad6dce052b6172ef5985d7f6ecb89f13e8df (2014-03-26 11:00:52 -0400)
Change the type signature on Q.resolve, and add Promise.prototype.delay

R=@x-ma