simplified mode in attachments

Added base class for attachments views: *BaseAttachment*.

Simplified *modes* (DC, BO) in attachments.. . It Can't be completely removed yet (because of attachment's parent class *AssetBase* uses *modes* much)