Created test file for qc::db procs
At least one functioning test for each db proc
more testing for db_quote and db_escape_regexp
Merge branch 'db_tests' into development