Clean-up Brightscript code

There were several bugs found when trying to sort the poster screens. It
seems the list was updated but the details screen will only show the item
from the first sorted list.

I also cleaned up the code in preperation for true directories in a
later commit.
Removed the need for $RokuDisplayType
Some small various updates
SQL query cleanup
Fix a bug with displaying images with special characters in the path.
Resolved issue #8
XML clean-up
Fixed some bugs navigating in details screen.
Update usage of $_GET
Added a directory structure for episode files.
Refined the ability to sort by title, genre, and date.
Various bug fixes
Solution for issue #9
Added TV rating for recordings.
Fixed issue with resume
Fixed bugs when sorting by genre and file system
Potential solution for issue #16

For recordings, the player now searches for any transcoded files with
the same name but different file extention (i.e. foo.mpg and foo.m4v).

All recordings are now shown in the player, however, any file that is
not .m4v, .mp4, or .mov will display "NOT TRANSCODED".

The behavior for videos (MythVideo) has not changed. The player still
screens for .m4v, .mp4, or .mov files. All other files will not be
displayed.
Fixed bug with apostrophes in the title.
Fixed bug in file system sorting
Updated mythtv_test.php to take inputs for sorting