Lots of additions, fixes for cdh4 + 10x performance fix. New requirement: cElementTree
Added flag to controlling metric caching