Set an application icon.

Now on Linux it doesn't show the X11 icon if you're using non-sticky mode.
On OSX this seems to make no effect though.
Add isOSX property
OSX: Disable sticky mode, Qt::Tool flag isn't working on OSX
Merge branch 'master' into 0.9