preferences.js: Show a close button instead of the done button in the headerbar

Also show the title.

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

Signed-off-by: Meg Ford <meg@localhost.localdomain>
info.js: Adda title to the headerbar