PTFM-4952 Retry logic in Java bindings.
PTFM-4952 Load DNAnexus environment from JSON config.

Refactor the loading and storage of the environment variables into a new
class DXEnvironment.
Merge pull request #14 from dnanexus/PTFM-4952-java-bindings

Improvements to Java bindings