Quantum Statistics of Interacting Particles; General Theory and Some Remarks on Properties of an Electron Gas