NEW UploadField functions on new records

Rebase of https://github.com/silverstripe/silverstripe-framework/pull/1862 against master (3.2) branch.