Recognize thenables.
rename "nearer" to "shorten".


git-svn-id: http://es-lab.googlecode.com/svn/trunk@791 aeea10e6-ec39-11de-83d8-6d5adf01d787
On Q(thenable), if the thenable's "then" throws, reject the promise returned by Q. This is the aqsynchronous analog of Q.promise's synchronous behavior.


git-svn-id: http://es-lab.googlecode.com/svn/trunk@792 aeea10e6-ec39-11de-83d8-6d5adf01d787