Adds GetGameType().

Fixes #208
Fix GetGameType() with cgame module.
Merge pull request #210 from ensiform/getgametype

Adds GetGameType().