Initial commit of experimental branch related to Mantis 3353
Essential code cleanup and basic fixes

Cleanup of Code:
- removal of redundant type casts
- removal of redundant else statements
- removal of redundant return statements
- removal of redundant field initializers
- removal of not used usings
- aligned returns to usage of ?? and ?: with the rest of the code
- updated copyright to 2012 on touched files
- added TODO comments for tracking additional changes that might be required
- combined declarations and initializations of local variables
- moved local variables closer to their usage
- marked fields that are used as constants correctly as const
- removed redundant ToString() statements
- added missing brackets on single line if statements
- removed if statements that are always true/false
- used IsNullOrEmpty on strings

Minor Fixes:
- corrected log message in TexturePacker to correct dimensions of max texture size that can be packed
- use MAXTEXTUREDIMENSIONS in catch statement instead of redundant hardcoded 2048
- checked for possible null values before several foreach loops
- converted for loops to foreach loops
Use ffmpeg.exe based on command line from Jay_UK's.
Generate recording thumbnails on TVServer side & provide access via remoting
Removed thumbnail generation from TvPlugin
Static VideoThumbCreator as in MediaPortal code
Moving & renaming things
Fixed TvThumbnails build settings in Solution Configuration Manager
Refactoring
Fixed log messages
Fixed namespaces
FEAT-3775 Add LCN to Channel
Rework of loading TV recordings
In recordings view date order will now be total (sorting will no longer be folders then individual recordings)
When deleting the last recording in a folder user will now be taken up a level rather than left in empty folder
Fixes for several null reference exceptions when sorting by channel
Fix review comments
A few more minor tweaks:
- tidy SQL script
- change default LCN to 10000
More review comments
Review comment: Remove channel number from tuningdetails screen.
Fix bug in renumbering by SID.
Add check in TVHome to try to fix error when starting to play a video when Tvservice is disable or not reachable.
Fix SQL script
Use CRLF instead of CR (end of line)