Search for same-sign top-quark production and fourth-generation down-type quarks in pp collisions at ps = 7 TeV with the ATLAS detector