osx: Create bundles using homebrew

Just easier to maintain than jhbuild.

See https://github.com/TingPing/homebrew-gnome for deps.
Bump master to development release 2.11.0

To anybody confused this is not the next stable release, it is just a way to differentiate master
from the 2.10 branch and next stable will be 2.12.0 similar to Gnome's versioning scheme.
Update readme.md
Update badges in readme
Use GFile API in gtkutil_check_file instead of stat/access.

The latter functions expect codepage-encoded filenames on Windows but GLib's API returns filesystem-encoded paths, which on Windows are UTF-8. GLib API should be used to deal with GLib API results.

Also fixed leaks in two of the callers of gtkutil_check_file()

Fixes #968
Use glib to get portable mode dir

This should fix any non-ascii paths
Fix using negative index
xtext: Add word and line selection modes

Similar to a GtkTextView if you double click you enter word selection mode
and if you triple click you enter line selection mode.
Allowing you to drag and select more than a single character.

Closes #1108
Fix DOMAIN and EMAIL patterns.

Closes #1107
Escape values set via pluginpref

Fixes #790
Fix opening utf8 urls on OSX

- Escape hostnames with punycode
- Use proper encoding when launching open
Detect utf8 urls

They might not be valid, but like many things they are still used
Correctly open URLs with non-ASCII characters on Windows.

Fixes #1023
Use PlaySoundW to play sounds on Windows.

Fixes #1133
Fix out of source builds

Fixes #1018
win32: Fixed build break due to 7a4a024
Replace some unsafe usage of strncpy

Ensure everything is null terminated
Increase max len of chiper names

For example ECDHE-ECRSA-AES256-GCM-SHA384
Fix missing header

And just use g_snprintf() while at it..
Fix attempting to toggle visibility when tray disabled