fix mpr_dag_getwhite error when destroyed. should destroy the dag only after all getwhite return.
Merge branch 'master' into rs-paxos
ready to add encoing and decoding part