Remove some unused code from the 'application' folder

It includes the 'InstallWarning' class, 'Manifest::SourceType',
'Manifest::Type' enums and the related code.