Replace serverinfo lib with game & physenv.

Also deprecated isLan and getHostname.