Restoring uuid as the primary key, adding pageid

The table will keep using randomly generated uuid as the primary key.
Pageid may be shared across multiple topics, hence we define a new column for that.

Also checking the initial version of database (data/topic_match_store.db), and linking
filter to the db.