refactor: rename database tables and methods shops to sites
Rename all database interfaces, tables, columns, methods, and SQL from
shop/shops naming to site/sites naming. Add migration method to handle
existing databases with old table names. Add 'generic' to SitePlatform.