Revert "glocalfileinfo: Only return file mode, not type, as UNIX_MODE attribute"
This reverts commit bfdc5fc4.
This changes the semantics of G_FILE_ATTRIBUTE_ID_UNIX_MODE, and we've already found one user of the previous semantics (ostree).
Also a second commit to fix up a test that was depending on the previous behaviour.