Measurement-Device-Independent Verification of a Quantum Memory.