Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Gluing Cohen-Macaulay modules with applications to quasihomogeneous complete intersections with isolated singularities 