Moved CMaildir::getFolders into CFile::get_all_maildirs.

  Clearly a function that gets all maildirs shouldn't be
 part of the maildir class - and I'm too lazy to create
 a maildir-collection class.