Plücker formula and the equisingularity set of a linear system Brauer-Manin obstruction for integral points of homogeneous spaces and representation by integral quadratic forms. With an appendix by Dasheng Wei and Xu 