For ENG-4805, add preliminary support for safe recovery and unique constraint violations
For ENG-4805, fix broken compilation
Merge pull request #584 from VoltDB/ENG-4805

Eng 4805 Integrate safe mode recovery with permissive snapshot restore