Issue252

I tried to fix issue #252.
And, I fixed the way of getting event data.

Please check the code. And, if there is some problem, let me know.
If there's no events in a Zabbix server, what does getFirstEventId() return ?
And what happen in this function ?