[Mac] Allow running mac/xwt apps outside of a bundle
[Gtk] Import some fixes from MonoDevelop

Import all the updates to GtkWorkarounds from MonoDevelop,
including:
* hard crash in new Retina icon rendering code
* 64-bit safe on MacOS
* better compution of Mac monitor geometry
* computation of Windows monito geometry
* better key handing when cap lock is on
* safely destroy attached context menus
* some new helper methods and workarounds
[WPF] Add embed native widget backend
[Mac] fix crash when tree view SelectedRows count is zero
Merge pull request #227 from dlech/fix_treeview_crash

[Mac] fix crash when tree view SelectedRows count is zero