Shift more keys out of BaseEntity.

Move csv_uploads, documents and photos out of BaseEntity.