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>