Past Nexus devices have generally been supported with updates for 18-24 months after release. If that continues to hold, the N4 should stop seeing updates in the latter half of 2014. What version of Android will be out at that point though is hard to say.
And no, rooting isn't difficult, assuming you've unlocked your bootloader.