FlxG: refactor versioning logic

Introduced a new FlxVersion class which works better with SemVer and makes FlxG more lightweight