fix int being used where it should be ofWindowMode

in many places, particularly setupOpenGL() and getWindowMode() methods, as well as
variables to store windowMode, the ofWindowMode enum was not being used as the type
update CHANGELOG.md for ofWindowMode, fixes #3187
Merge pull request #3189 from acarabott/bugfix-ofWindowMode

Bugfix of window mode