Measurement of the cross section for electroweak production of Zgamma in association with two jets and constraints on anomalous quartic gauge couplings in proton-proton collisions at s=8 TeV