Measurement of WW/WZ -> lnuqq'production with the hadronically decaying boson reconstructed as one or two jets in pp collisions at vs=8TeV with ATLAS, and constraints on anomalous gauge couplings