CharsetDetection: add new header 'CharsetDetection.h' and implementation 'CharsetDetection.cpp' with function GetBomEncoding()
CharsetDetection: add XML charset detection functions
XBMCTinyXML::Parse: return 'bool' instead of 'const char*'
Return value is (rarely) used only as bool
XBMCTinyXML: move "&amp;" fixing to "InternalParse"
XBMCTinyXML: add member variable m_SuggestedCharset and functions overloads
XBMCTinyXML: detect XML charset and convert data if needed
XBMCTinyXML: add 'GetXxCharset' functions
Remove hacks and workarounds for XML encoding
XMLUtils: remove not needed anymore and semi broken 'HasUTF8Declaration' and 'GetEncoding'
* 'HasUTF8Declaration' can't really detect declaration with whitespaces and can false detect encoding beyond declaration end
* 'GetEncoding' works only if XML is stored in singlebyte encoding
[osx] add CharsetDetection.cpp/h to xcode project