[pvr] fix continue playback of last watched channel on startup if group was deleted or channel was moved

As discussed with @FernetMenta this attempts to fix the issue that the wrong channel is continued at startup if you delete the last played group or move the last played channel to another group, in short if you re-organize your channel setup in the backend.

Here is how this works: first it search for the last watched channel in the "all channels" group and if a channel is found it looks for the last played group which contains this channel. so if you move the last played channel to a new group it would definitely playback the right channel and use the group that was last played and contains the channel which is btw the "all channels" group if no other group contains this channel and will have a greater last watched timestamp. if you delete a group where the last played channel is in the same happens.

I also added a DEBUG output if no channel is found to reproduce the issue described in trac ticket http://trac.xbmc.org/ticket/15397.


should we log some indicators for the reason, i.e. was channel NULL or did HasPVRChannelInfoTag return false?