Add a test code for promise.
Add the promise module.
Return a promise from RESTFulClient.prototype.request unless callback.
Return a promise from RESTFulResource.prototype.list.