Search for high mass dilepton resonances in pp collisions at sqrt{s}=7 TeV with the ATLAS experiment