Search for heavy neutrinos and $\mathrm W$ bosons with right-handed couplings in proton-proton collisions at $\sqrts = 8\,\text TeV$