Search for supersymmetry in final states with three leptons and missing transverse energy with the ATLAS detector at the Large Hadron Collider