epg timeline: Fix crash when no epg

Program terminated with signal 11, Segmentation fault.
#0  EPG::CGUIEPGGridContainer::SelectItemFromPoint (this=this@entry=0x3286970, point=..., justGrid=justGrid@entry=false) at GUIEPGGridContainer.cpp:1317
1317      if (!m_gridIndex[channel + m_channelOffset][block + m_blockOffset].item)
Merge pull request #3095 from FernetMenta/aefixes

AE: various fixes
fixup broken build when enabling amlplayer
[jenkins] - fixed approach for detecting the current branch once and for all (works for attached and detached heads and also for pull requests)
fixed build with amplayer, thanks rockchip
Merge pull request #3125 from janbar/noepg_timeline_crash

epg timeline: Fix crash when no epg
ActiveAE: fix hang in case of sink fails writing data
XBMCTinyXML::Parse: fix small error with huge impact
Merge pull request #3134 from FernetMenta/activefix

ActiveAE: fix hang in case of sink fails writing data
AE: fix coreaudio after e4ffe757f43074075749c59e8971f32649aa99a3
Merge pull request #3136 from FernetMenta/coreaudiofix

AE: fix coreaudio after e4ffe757f43074075749c59e8971f32649aa99a3
jni: fixed Buffer/ByteBuffer and added ByteBuffer.duplicate
jni: Add a templated helper for retrieving jobjectArrays.

This takes care of ensuring global references, and skips a copy by using
emplace_back rather than push_back.
jni: MediaCodec, remove non-standard functions
jni: add docs for jni vector helper
update readme
Merge pull request #3135 from Karlson2k/xbmctinyxml_fix_01

Fix simple but significant bug in parsing XML files
GUILabel optimization.
Merge pull request #3128 from stupid-boy/CGUIListLabel

GUIListLabel optimization
changed, split libamplayer includes into amcodec and amplayer to make sync with upstream easier