Some work towards maildir-sorting.

  This updates #200 with some stub code which can be expanded
 to allow sorting of maildirs.

  Currently we just return a sorted CMaildir vector, but we've
 added the code which could be used to make this sortable via
 lua.