Added events and quest support

For issues #171,  #202
Events and quests are supported now. Tried to follow the current code style and architecture as close as possible. Will add QuestUpdateListener soon.
Unfortunately, only Android is supported as I have no iOS device, but adding it now shouldn't be a problem.