Cache the currently selected folder

This lets me handle large folders a whole bunch more easily.  I
believe it is correct becasue IMAP specifies that these things can't
change until you deselect a folder.
Merge branch 'master' of github.com:palmer-dabbelt/mhng