W15B-2

1. complete automatic-event-updating system
2. add a function testEvent() for testing. A test event for the current login user will be generated immediately when a post request be sent to accounts/addevents
3. add 'test' as a eventType in database