Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Application of the Hodge-Tate dual of a Lubin-Tate group, Bruhat-Tits building of the linear group and ramification filtrations 