1. Straightened out some dependencies that resulted from Dan's moving of cms workflow from acs-content-repository to the cms, i.e. where it belongs.2. Made the default severity in apm_callback_and_log "debug" rather than "notice".3. fixed toggle-inherit for Oracle.
fixed audit procs. did a db_type check so that we can run ns_pg_bind for postgresql and ns_ora for oracle. also mapped get_entries_sql because of rowid/oid.