Use headerbar in the preferences dialog

https://bugzilla.gnome.org/show_bug.cgi?id=727051
Use a shorter title for the preferences dialog