Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Homological mirror symmetry and tropical geometry. Based on the workshop on mirror symmetry and tropical geometry, Cetraro, Italy, July 2--8, 2011 