z_context: Fix propagating db details in pruning functions
Add z_context:db_pool/1 and db_driver/1