Win32: move paste code to g_Windowing
Win32: change GUIDialogKeyboardGeneric to use g_Windowing.GetClipboard
OSX: change GUIDialogKeyboardGeneric to use g_Windowing.GetClipboard
Add GetClipboard method to CWinSystemBase
[EGL] Fix the non-trivial dirty rectangle modes

EGL is typically double or triple buffered, and the previous buffer contents are not preserved.
This means the non-trivial dirty rectangle modes display a flickery mess.

EGL does provide a means for requesting the EGL buffer is preserved across calls.
It seems appropriate to request that when using dirty rectangle modes.

This PR makes algorithmdirtyregions 1 and 2 work on the Raspberry Pi.
It needs testing on other EGL platforms.
Modify GUIEditControl to use the new paste code
Fix: change XBMC temp folder path to a non-root accessible folder

let XBMC store its temp (and xbmc.log) in XBMC_HOME/.xbmc/temp instead of /data/data/org.xbmc.xbmc/....

When XBMC_TEMP is not defined, https://github.com/xbmc/xbmc/blob/d128d3760cb16bba81bcfaaa0498bc8a58ff115e/xbmc/Application.cpp#L1058 will take care of it and change it to XBMC_HOME
Merge pull request #3021 from popcornmix/dirty_rect

[EGL] Fix the non-trivial dirty rectangle modes
[Fix] workaround osx 10.6 lost first keypress problem
Merge pull request #3034 from jhsrennie/win_paste

Move paste code to g_Windowing
Merge pull request #3039 from ulion/osx_fix_firstkeypresslost_on_10_6

[Fix] workaround osx 10.6 lost first keypress problem, fix #14525
Merge pull request #3030 from jowadmax/master

[droid] Store the log file in a user-accessible location