Cloud Export Summary

Enabled reporting of a cloud export summary via email.

A number of other areas are being addressed in this PR: cleaning up the config format, more unit tests, starting to replace string-based types with enum types for greater type safety.