Added [save_queries] config in config/database.php

Fixes Issue #2816