While the government plays a big part in the economy, history shows that the lasting effects of shutdowns are limited.