Change zone.next_change to signed integer. Fix tests gen.pl with regards to revisions. Update tests for changes done in policy_key.