Nonlinear excitations in arrays of Bose-Einstein condensates