Add getCategory() method to event object

Since every event is tied to a category, it's better for event object to have it as a member method

Change-Id: I911415284486bb11d13d91366340c5c330317c34
Merge "Add getCategory() method to event object"