fix error where apidoc breaks due to error in UsageApi
Fix name of machine mutex in installJava() method and update to use DynamicTasks
Merge pull request #1054 from grkvlt/fix/install-java-mutex

Fix name of machine mutex in installJava() method
Merge pull request #1052 from ahgittin/fix/apidoc

fix error where apidoc breaks due to error in UsageApi