Implementing `event_ids` method to retrieve the event_ids within the range from database.
Use `events_ids` method to judge the following collections:

  (1) newly added events
  (2) updated events
  (3) deleted events
Merge branch 'dev'