Defines unique indexes for the manifest and audit item in the java tier,
thus correcting the problem of effeciently guaranteeing the uniqueness of
records with long or absent (in the case of audit log items) content ids.