Add tab_modified_indicator to the vim segments

This indicates in the tabline that any of the open buffers in a tab
page has unsaved modifications (like the default tabline do).
No, it and a number of other keys are not present when in tabline. I think it is better to fix both this and the fact that `contents_func` is called when segment should not be rendered.