Group law on the neutral component of the Jacobian of a real curve of genus 2 having many real components Brauer-Manin obstruction for integral points of homogeneous spaces and representation by integral quadratic forms. With an appendix by Dasheng Wei and Xu 