magit-read-file-from-rev: allow selecting a tree

Teach `magit-read-file-from-rev' to offer
trees, not only blobs, for completion.