Upload Result HTTP Response Changed

Now returns the pk value of the uploaded object, not just the word
‘success’. Also, failure returns ‘-1’.