The spectroscopic evolution of the $\gamma$-ray emitting classical nova Nova Mon 2012. I. Implications for the ONe subclass of classical novae