Identification and energy calibration of hadronically decaying tau leptons with the ATLAS experiment in pp collisions at s=8TeV