updated main sonar.rb to pull and write to csv

Metric retrieval was split to individual metrics per request, with
trending. This allows for a log file that is the same format that can
be indexed into splunk