Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces The standard filtration on cohomology with compact supports with an appendix on the base change map and the Lefschetz hyperplane theorem 