Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces On a characterization of the set of lines which either belong to or are tangent to a non-singular quadric in PG(3,q), q odd 