Create database trigger to track resource changes

Creates a new row in the DBPEDIALIVE_UPDATES table for each new
extraction in the DBPEDIALIVE_CACHE, recording its `pageID` and
`updated` time. Needs testing.