Performance improvements, continued: improved performance of getFileState() by replacing the client haveList call with a direct server command.
Also improved isLatest by removing fstat calls and replacing with simpler calls to diff and sync.
Transferred from p4://perforce.perforce.com:1666@983506