Move all the modeline code to new mu4e-modeline.el, and update mu4e-context and mu4e-headers to use it.