Introduce MacWindow class

It has a helper to foreground the window even in cases where it does not work
https://bugreports.qt-project.org/browse/QTBUG-40403
Merge pull request #1 from guruz/master

Introduce MacWindow class