preferences-window: Make it a HdyDialog

This makes the preferences window fully adaptive.
7 jobs for preferences-window-adaptive-dialog in 9 minutes and 57 seconds (queued for 1 second)