message: Convert assert() statements to DbgAssert()
  Also add some ERROR logging in case a non-debug build is being
  run.
diff: @@ -74,7 +74,9 @@ std::list<std::pair<int, int> > DoubleSpendProofStorage::findOrphans(const COutP
  for (auto proofId = q.begin(); proofId != q.end(); ++proofId)
  {
  auto proofIter = m_proofs.find(*proofId);
  - assert(proofIter != m_proofs.end());
  + DbgAssert(proofIter != m_proofs.end(), );
  + if (proofIter != m_proofs.end())
  + {
  if (proofIter->second.prevOutIndex() != int(prevOut.n))
  continue;
  if (proofIter->second.prevTxId() == prevOut.hash)
  @@ -86,6 +88,9 @@ std::list<std::pair<int, int> > DoubleSpendProofStorage::findOrphans(const COutP
  }
  }
  }
  + else
  + LOG(DSPROOF, "ERROR: no dsproofs found in m_proofs\n");
  + }
  return answer;
  }
  @@ -131,7 +136,9 @@ void DoubleSpendProofStorage::remove(int proof)
  std::deque<int> &queue = orphanLookup->second;
  if (queue.size() == 1)
  {
  - assert(queue.front() == proof);
  + DbgAssert(queue.front() == proof, );
  + if (queue.front() != proof)
  + LOG(DSPROOF, "ERROR: queue front did not equal dsproof\n");
  m_prevTxIdLookupTable.erase(orphanLookup);
  }
  else
  