Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Complete sets of relations in the cohomology rings of moduli spaces of holomorphic bundles and parabolic bundles over a Riemann surface 