[Anizoptera] LibEvent component: fix for Travis and PHP 5.3
Merge changes to AzaLibEvent subtree