Search for supersymmetry in final states with two same-sign or three leptons and jets using 36 fb−1of √s=13 TeV pp collision data with the ATLAS detector