store item when persist_item=false and cache_last_item=false but need last_item
avoid sending empty events
avoid sending duplicated events
remove compilation warnings
Merge branch 'master' of github.com:processone/ejabberd