fixed the bug in which g_thread_init() is missing on the platform whose GLIB version is less 2.32 (#7).
added a function to return the obtained trigger table.
added a method: getTriggerLastChange() that looks up the most recent trigger changed time in replica DB.
fixed to get updated triggers since the previous check.
added a function that uses 'update' instead of 'insert' when the row is already exists.
extracted a logic to detect the record existence as a helper method.
updated TODO.
updated TODO.
added a column for hostid in replica triggers DB.
added code to get hostid in the trigger query with ZABBIX API.
excluded the primary key from the columns on update of the DB.

SQLite3 fails to the update of the primary key.
fixed the bug that uses the inverserd logic by mistake.
Revert "fixed the bug that uses the inverserd logic by mistake."

This reverts commit da0e1ac4b72f57aa27643660d6040658ba3a013c.
fixed the bug that uses the inverserd logic by mistake.
simplified the join to get Asura's format triger information.

The commit: ff5bba7c enabled to get host id without functions and
items data. Now we can get the host name easily.
commented out code to get functions in the trigger request with ZABBIX API.
updated TODO.
had the debug message of the number of obtained data displayed always.
fixed the wrong message that displays the different data name.
deleted an unnecessary space.