[pvr] EPG hookdata: Return UniqueBroadcastID

Returns epgUid known by client instead unset data.
[ios64] - fixed offsets into the eventmem for arm64 - fixes bt keyboard cursor keys when compiled for arm64
CHG: [mediacodec] switch to a surface render black list + backup AS
FIX: [linux] fix & optimize input device checking
Improved file buffering in CArchive.

CArchive already did some file buffering, but only on writes. Added the
equivalent code for reads. Also improved the write buffer case so that it
only ever issues sector-aligned writes (the read code does this from the
start). Shuffled various bits of code into the header file to squeeze a bit
more performance out of it.
[videodb] move AnnounceUpdate|Remove to statics
[announces] add 'transaction' attribution to OnUpdate, OnRemove if scanning.
drop unneeded tracking of database updating, using the 'transaction' attribute of OnUpdate/OnRemove instead
[addons] install from zip should install from the zip, not from packages/zip
[epg] fix: SetChannel() methods do not correctly select the given channel
VDPAU: fix cropping for interlaced frames
HttpHeader::Parse: accept "\n" line ending as well
HttpHeader::Parse: fix parsing multiline parameter (used only in tests)
HttpHeader::GetHeader: (used only in tests) return empty string if got nothing and use standard "\r\n" line ending
HttpHeader::AddParam: fix overwrite for non-lowercase names
HttpHeader::AddParam: trim name and value like "Parse()"
HttpHeader::AddParam: fix trying to add empty value or name
Fix memory leak of CGUIViewState

Follow other examples, and use auto_ptr to make sure that the ViewState
object is freed when it goes out of scope

Coverity CID 1211800
Remove erroneous semi-colon

Fix possible null deref if m_keybuf was ever null.

Coverity CID 1211801
Fix memory leak of CGUIViewState

Follow other examples, and use auto_ptr to make sure that the ViewState
object is freed when it goes out of scope

Coverity CID 1211800