Handle Dired(+) buffers correctly and keep wg-list sorted (MRU)

This 2 commits are  from the old thl repo:

commit 1 handles Dired buffers correctly (no file name associated) 
commit 2 fixes https://github.com/tlh/workgroups.el/pull/18