Added OS X impl of requestFocus and hasFocus

Signed-off-by: Maximilian Wagenbach <s52211@beuth-hochschule.de>