bug-17959: fixing memory leak & adding cplusplus header guards to test_utils function
bug-17959: When deleting records, it seems that sometimes BDB will free the underlying data before finishing all the calls to the secondary DBs. Fixing the secondary indes extraction functions to make copies of the secondary keys.
bug-17959: Adding code to remove a record by SID
bug-17959: adding quick unit tests for record removal
bug-17973: Adding declaration for a callback function to use for DB traversal.
bug-17973: Adding stubbed unit test file for jaldb_traverse, just for a compile test.
bug-18665: Fixing sanity check code to account for fields used in XML & modifying the XML serialization code to call the sanity check function.
bug-18010: Adding function to iterate over the DB and allow a callback to delete records.
bug-18010: Unit tests for DB traversal function.
bug-17971: updating jal_purge to work with new APIs