SessionFactory: return promises
tweet.js: refactor using promises
tweet: work in progress on web server mode
merge
Implement Promises/A+ Promise Resolution Procedure
tweet demo: work in progress to use promises
merge
Return promises from api/Transaction
Active.commit(), Active.rollback(), and RollbackOnly.rollback() return the promise created by UserContext.
Other transactions don't.  I'm not sure this is the correct behavior.
api/Batch.js: return promise from UserContext
Return promise from createQuery(), executeQuery(), and executeBatch()
Fix IllegalArgumentTest for promises
A few Promise cleanups from code review
Add PromisesTest to t_basic
Remove debugging from t_basic/PromisesTest
merge
work in progress: use promises in tweet demo
merge
Add test for transaction commit promise
merge
More transaction promises