Track line number state through inserts

If you change the numbering from relative to absolute and then enter and
exit insert mode, the numbering will revert to relative. This will
track the current state and return to that after leaving insert mode.