Unlocked DB2 iteration

These commits add an unlocked iteration capability to libkdb for the DB2 back end.

Test cases and docs still pending, but the main functionality is complete.  I might undo the addition of the flags word to the policy iterator functions.