Move Chain::FailureData to a separate file

TODO: Find a better name for this class