Add new Integer primary keys to the shopcats, shopcatsorder, and pantry tables.

Those tables had Text columns as primary keys, which, when used with MySQL,
requires an extra parameter specifying the length of the substring that MySQL
is supposed to use for the key. Thus, we're adding columns named id of type
Integer and make them the new primary keys instead.

Fixes #681.