Add maildir segment

This is a first, very simple iteration, mainly meant to be used in the shell prompt (it does not refresh its status automatically). I'll add refresh and more option later, in a different pull request.

Ref #152