added changes towards 1.1.1 relase
deprecated triggerEvent
added pre and post - event - dispatch hooks