Add EDITIONS to ServerInfo and optimize method getVersionCode()