Add SQL support
Introduces the "sql" backend, and refactors backends behind a nicer interface (which looks a lot like the one in id/auth). Users can define arbitrary SQL queries to fetch the key data, to adapt to their database schema. Include vendored dependencies for sqlite3/mysql/postgres.
Showing with 250615 additions and 64 deletions