[DBClientHatohol] Use "triggers" table's columns to specify target server/hostgroup/host IDs on getting events

Because currently events table doesn't store valid host ID
in spite of having the host_id column.
Merge branch 'server-side-filter'