Modernize NautilusPropertiesWindow code
This contains the remaining work by @apoos-maximus during GSOC 2020, which we didn't merge into 3.38. I've already reviewed his commits and I think they are ready.
However, I'm going to add some commits of my own on top, to complete the modernization effort. Reviews are very welcome!
Edited by António Fernandes