gitignore update, changed query to SFW

Fixed search query issues, and amended gitignore file to omit database.yml