Updates to stand-alone Java samples
Generic Promise implementation
Add new request method which will return a Promise
Merge remote-tracking branch 'origin/master'
Add new request method which returns a Promise