Use a header bar on the preferences dialog

https://bugzilla.gnome.org/show_bug.cgi?id=729903