Engine: max scaling selection considers alternate resolutions

When calculating maximal supported uniform scaling also take possible alternate letterbox and siderborders modes into account.
Engine: moved gfx mode init and shutdown to graphics_mode unit
Engine: fallback to software graphics driver (case 2)

Change to software graphics driver if chosen hardware one could not initialize graphics mode
Adjusted game data version constants between 3.0.0 and 3.1.0

Value 36 corresponds to 3.0.1, value 37 - to 3.1.0 only.
Version 3.0.0 used data format id = 35.
Engine: fixed error output for game data not found
Compatibility: transparent GUI rendering for pre-3.2 games

Before 3.2.0 in 32-bit games GUIs with transparent background were rendered as if they do not have alpha channel. Since 3.2.0 they are considered having alpha-channel, which broke the "Classic" gui rendering mode.
This commit restores backwards-compatibility with pre-3.2 games.
Windows: Request 1 ms timer resolution. This makes the Sleep() calls more accurate.