Measurement of quarkonium production at forward rapidity in $$\mathbf {pp}$$ pp collisions at $$\mathbf {\sqrt{s}=7}~$$ s = 7 TeV