Addlogo file upload validation
document file upload validation
Don't handle document upload validation manually
reset validation rules after calling a custom validation function

This prevents problems when later using the same object to create a new
record.
Merge branch 'SGA-IT'