Added csv, xml support to Kratu. Bug fix in search metrics.