[pvr] apply the view state handling on a per window basis

As reported in our forum at http://forum.xbmc.org/showthread.php?tid=175135&pid=1776697#pid1776697 the view state handling depends on the current selected group. This changes the handling to be on a per window basic instead.
Merge pull request #5255 from xhaggi/pvr-apply-view-state-on-a-per-window-basis
[keymap] don't overload <space> key (pause action) with playlist functionality and rather use <n> for this like already on other places
[keymap] make <play_pause> button actually trigger PlayPause action
Merge pull request #5244 from da-anda/keymap-overload

[UX] keymap fixes - don't overload pause action with something else
fixed: use the proper make instead of calling 'make' directly

fixes builds on freebsd
cmake buildsystem
add tests needed by new u16 string stuff
wrap cmyth properly
move some more install related stuff to install script
move all install code to platform install script
allow building without doxygen
fix building with yajl2
generate scripts in a subdir to avoid problems configuring in top dir
properly wrap library.xbmc.foo
link to threading lib
remove duplicate mpeg2 entry
properly locate java and swig

also use the detected paths for java, swig and doxygen
cosmetics: move all depends together for better readability
changed: build with a prefix to avoid cluttering the build dir

some peeps still do in-source builds out of old habits. this is
to annoy them slightly less, though they should STOP doing in-source
builds in the first place