Refactors ignore plugin to use database
Refactors every plugin using the ignore plugin, as it now accepts a callback
Adds ignore database SQL