Added a sniff to detect wrong db_query() calls in D7.