HPCC-9414 Add XML/JSON responses to FileSpray/UploadFile

On EclWatch Upload File page, when a file is uploaded, the page will
be redirected to Browse Dropzone File page. That does not work when
rawxml_ flag or JSON flag is true. This fix returns upload file results
if the rawxml_ flag or JSON call is detected.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>

Corrected tabs

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'h9414' into candidate-4.0.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>