add database cycle begin/end phases
add database cycle begin/end phases

This assists with ensuring that database entries believed to
be in-queue are actually in-queue.

DHTC-Tools/crow,DHTC-Tools/crow,DHTC-Tools/crow,DHTC-Tools/crow