Fixed stream transfer issue: I changed the process from "upload" to "download". HarvestAgent will notify Store to save harvest, Store will "download"(or copy if "copy" mode is set) files from from HarvestAgent.
Changed build.gradle of WebApp to fix updateVersion failed issue when there no build files exist.
@obrienben I refreshed the branch of this PR. Ignored the mentioned test case and replaced the baseUrl of harvestAgent with combined URL strings, so it doesn't have to depend on the add-context-path PR.
Fixed issues based on master branch: