Updated json.php

To create backup of db.json file on overwrite.  Added db_* to .gitignore