Added JQuery deferred objects support. Updating to return promises
Merge pull request #29 from vrp-nikita-yaroshevich/master

Added JQuery deferred objects support.