Initial move from ps3mediaserver-plugin-ccml project.
Corrected detection for UTF-32 big endian file types.
Overall code cleanup.