Added XML compatibility to YamlGameLoader Class

Added private parse function that parses both yml and xml configuration files. Included XML2array file for xml parsing. Maybe change YamlGameLoader class name to GameLoader?