Allow assert_query_count to be a decorator *or* context manager.