Merge pull request #1 from ganglia/master

Update ganglia master
Don't global unused variables.
Get rid of global debug call to save time in production.
Micro-optimize globals inside the XML parsing functions
Merge pull request #252 from cddude229/microoptimize-xml-2

Micro-optimize XML calls