Search for high-mass dilepton resonances in pp collisions at s =8TeV with the ATLAS detector