Update text direction on language change

GTK+ now has an api to determine the text direction according
to the current locale. Use that to update text direction when
the selected language changes.

Bump the GTK+ requirement to 3.11.3.

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