Easter bombings in Sri Lanka were retaliation for attacks on mosques in New Zealand, an official said, as Isis claimed responsibility for the blasts.