requests return promises
Update README.md
Merge branch 'development' into promises
Reject deferred on request error
Remove test file
Update `foo.js` in README

When using promises, we don't pass any arguments to `foo()`.
Update README.md

Do not call `callback` if it isn't defined (e.g. when using promises).