Added better instance configuration methods, including validation setup helpers (setAllowedFileExtensions, setAllowedFileCategories, setAllowedOnlyImages). setConfig and getConfig are now protected.
Tweaked PHPDoc throughout File, UploadField, FileField
Removed replaceExistingFile, as it was no longer necessary
Moved fileEditActions, fileEditFields, fileEditValidator out of ufConfig as they were not relevant to the front end configuration and were not serialisable
New field validation on UploadField::validate, replacing much of the validation done during upload()
Removed attachFile, RemoveLink, remove, etc as these serverside function are no longer relevant to the new field behaviour