Moved globals into conditional struct: DBStatistics

added parser option to record db stats.
changed the call point for SetPlayerRank.
Provided for sharing stats among parallel parsers