Add limited support for non-.md folder notes
Currently, priority for picking the folder "note" is first the .md file if there is one, and then the first file (sorted by full filename) whose extension is in the view registry and whose basename is an exact (case-sensitive) match for the folder name. Multiple files can now appear at the top of a directory listing, if they match the folder name.