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