Add linting of SQL statements via `sqlfluff`
To give a better indication of what's gone wrong with a query, otherwise we're relying on:
$ dmd db generate advisories --db dmd.db
Error: SQL logic error: near ")": syntax error (1)
This also excludes a few rules for layout that aren't super important.
Edited by Jamie Tanna