db: Allow specifying a key size for a column in the database schema to be used ''if necessary'' by the backend when creating tables. This is typically used by the MySQL backend to avoid compound keys larger than 1000 bytes, and replaces the special cases for columns named `rev`, `path` and `change_type`.