Search for supersymmetry in events containing a same-flavour opposite-sign dilepton pair, jets, and large missing transverse momentum in \sqrt{s}=8 TeV pp collisions with the ATLAS detector