Writing the metric directly into the output file (csv extension) without using the YAML module.

Signed-off-by: Bryan de Holanda <bryan.h.fernandes@hotmail.com>
Signed-off-by: Lucas Kanashiro <lucas-kanashiro@hotmail.com>
Refactoring write_data the function (): Creating the function write_details (). The behavior of direct writing in output file (csv extension) is now performed by write_details function () as the orientation Terceiro. (Note: all metrics-batch are written, but not organized).

Signed-off-by: Bryan de Holanda <bryan.h.fernandes@hotmail.com>
Extracting labels in the array of the details and writing in the CSV file.

Signed-off-by: Bryan de Holanda <bryan.h.fernandes@hotmail.com>
Signed-off-by: Macartur de Sousa <macartur.sc@gmail.com>
CSV details output was refactored.

* Extracting the metric values ​​and writing the output file (csv extension).
* The labels and values ​are  ordered ​in a table form.
* The output is writting directly in the csv file without the use of the YAML.
* The module YAML was removed.
Refactoring CSV.pm without using YAML module:

* Getting the metrics from the structure abc.
* Fixing the output file (correct format).
* Bug: name of directory as output file.
* Bug: do not know the number of files in a metric

Signed-off-by: Bryan de Holanda <bryan.h.fernandes@hotmail.com>
Signed-off-by: Macartur de Sousa <macartur.sc@gmail.com>
Fixing bug: do not know the number of files in a metric.
Fixing bug: name of directory as output file
Delete yaml2csv.t test class and ordering hash using sort keys (DOT.t test class was changed)
Fixing test about metadata. Cleaning code.

Signed-off-by: Bryan de Holanda <bryan.h.fernandes@hotmail.com>
Signed-off-by: Macartur de Sousa <macartur.sc@gmail.com>
Merge pull request #3 from BryanFernandes/_csv_output_

 csv output working.