Using past_event_create() in PastDBCrudTest, related changes accordingly
Using const instead of define() for severity constants
Added modified ViewsData patch