Add debug logs. Return correct at end of updatePolicy().
A TODO
Removed unneeded NULL setting of variables just before return.
Implement outroducing of similar keys in updatePolicy().
Removed old commented code.
Fix wrong function call on decommission of keys in updatePolicy().
Remove the reset of next roll, keep track if the zone changes and update the zone at the end of updatePolicy().
Corrected Dia database schema
Move zone update to enforce task because updatePolicy(), updateZone() and enforce task may do updates to zone (would require refetching between functions if not handled by enforce task), keep track of the update via zone_updated.