Added a $ when referencing RELEASEABLES inside the "generatesknandmif" define directive so that it expands correctly at the right time, and the skin builds.
Also improved the debug output so it generates well-formed XML when turned on.
Category EOSD: Common Replaceable Dynamic Palette Support