Fix variable name.

In pull request #464, we were pointed out that variable name: eventIdOffset is unreadable.
(See also [correspond comment](https://github.com/project-hatohol/hatohol/pull/464#issuecomment-53531926))

So, I fix the variable name.
eventIdOffset ->
eventIdFrom

And, I also fix to use conditional operator.