The Statistical Physics of Solar Active Regions and the Fundamental Nature of Solar Flares