main: Add helper function to set RTL icons

https://bugzilla.gnome.org/show_bug.cgi?id=702631
main: Simplify setting RTL icons

https://bugzilla.gnome.org/show_bug.cgi?id=702631
configure: Bump to 3.11
build: Fixes for make distcheck