Search for supersymmetry at $N \sqrt{s}$ = 8 TeV in final states with jets and two same-sign leptons or three leptons with the ATLAS detector