Fleshing out the sqlite3_update_hook implementation and using this to trigger view invalidations.