Core: Fix bug with CCharacterStream not returning EOF

... when reached end of stream.

That caused HDF parser to generate erroor messages.
Graphics: Make VideoManager configurable via settings manager

+ For now only resolution and fullscreen mode
+ Video manager stores window handle for use in other modules (i.e. BASS
wrapper)