Iterated residues and multiple Bernoulli polynomials Symmetric powers of symmetric bilinear forms, homogeneous orthogonal polynomials on the sphere and an application to compact hyperkähler manifolds 