Improve TextEntered for OS X (close #377)

Code from pull request #401 was not used because some methods used
don't exist on 10.5 which is still supported by SFML 2.1.

Conflicts:
	src/sfml/window/OSX/SFOpenGLView.mm