Multipole magnetostatic interactions and collective vortex excitations in dot pairs, chains, and two-dimensional arrays