Revert "dx download -r: only reconstruct the last path element"

This reverts commit 70ad4d27d9e75a9f33e3df5530ed1649b0bed0b9.
Revert "Revert "dx download -r: only reconstruct the last path element""

This reverts commit 031efe2b1a36f20431a4b693e04533773c111859.

Erroneously reverted commit
PTFM-13212 Treat all greet route errors in dx login as non-fatal
Bugfix for dx download -r when given a relative path
Further bugfix for dx download -r for relative paths with trailing slash
Support building with openjdk 7 (in particular for Ubuntu 14.04)
Changelog and version updates for v0.117.0
Fix badly formatted changelog line

(Doesn't interfere with build, but lintian complains.)
Update R bindings
Add Conflicts against packages we bundle with dx-toolkit
Allow Ubuntu 14.04 dx-java-bindings to run against openjdk 7

(also cull build-depends that were only needed for EOL'd Ubuntu
releases)
Make dxpy.dxlink a no-op if given a link
Return result of execution in entry point decorator
Add bindings to project-xxxx/updateSponsorship method

Test Plan: New bindings shouldn't break old code

Reviewers: klai

Reviewed By: klai

Differential Revision: https://phabricator.dnanexus.com/D104
Add R doc file that was missing from f13c95d
Update NAMESPACE too following f13c95d
Remove obsolete Javascript bindings

Summary:
These appear to not have received any substantive updates in over 2
years, and I don't know of anyone using them.

Test Plan: Monitor all toolkit integration tests. Built Debian package by hand locally.

Reviewers: akislyuk, klai

Reviewed By: klai

Differential Revision: https://phabricator.dnanexus.com/D102
Add link to dx-javascript-toolkit
Changelog and version updates for v0.118.0
PTFM-13157 First file download request blocks all subsequent requests

Summary:
If running on a worker, wait for the first file download chunk to come
back before issuing any more requests. This ensures that the backend can serve
cached data for the subsequent requests, instead of having all of the first
DXFILE_HTTP_THREADS requests simultaneously hit a cold cache.

Test Plan: verified that cache misses are reduced with the new client

Reviewers: dkillebrew, klai

Reviewed By: dkillebrew, klai

Differential Revision: https://phabricator.dnanexus.com/D108