Android thread safe events and standartized behavior with IOS

Android - made event related variables thread safe
Android - does not dispatch notification when app is in forground,
instead dispatched internal Lua event (same as IOS)
Android - notifications get cleared after click on them