Scalable window and fullscreen mode now.

This makes "global.scale" redundant and it can be removed from the whole
codebase. Except that would probably break everything.
Merge pull request #47 from variousauthors/viewport

Please do not break everything.