Add check for shapshotrestore to not give false possitive for deadlock.
ENG-4934 - dont do any logging or remote dumping if we are in snap restore.
combine in one check
Merge pull request #627 from VoltDB/ENG-4934

ENG-4934: Add check for shapshotrestore to not give false positive for deadlock.
r=izzy