Added methods to check and request window focus

Implements https://github.com/LaurentGomila/SFML/pull/613