Added primitives for selecting folders.

  These need more work - specifically the drawing of maildirs
 doesn't show that folders are selected.

  We also need to have a "toggle" function.