Created method to get a list of metric grades

Added some modifications in views to support the pending action call.
Signed-off By: Fellipe Souto <fllsouto@gmail.com>
Signed-off By: Renan Fichberg <rfichberg@gmail.com>
Refactored new graphic methods

Covered with unit tests
KalibroEntites updated to rc6

Signed-off By: Fellipe Souto <fllsouto@gmail.com>
Signed-off By: Renan Fichberg <rfichberg@gmail.com>
Any metric links generate a sample graphic.

application.html.erb should include highcharts.js just in Repositories controller.

Signed-off By: Diego Araújo <diegoamc@gmail.com>
Generating graphics under the selected link.

The page is getting so much slow.
pending: use ajax to get the history metric values and include it in the function that generate the graphics.
Fixed js error and fixed the page location when the link is clicked.

The table row for chart just show when the link is clicked.
Created controller to get the ajax requisitions from metrics.
Ajax communication is now working.

Signed-off By: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
Signed-off By: Fellipe Souto Sampaio <fllsouto@gmail.com>
Chart generated using ajax.

pending: tests for module_result_controller; find a way to send the all the data required to generate chart using just one json parameter; configurate the highchart to show gridlines.
Initiated acceptance test for metric's graphic.
Also, there are two new steps being worked on.

Signed-off By: Fellipe Souto Sampaio <fllsouto@gmail.com>
Metric chart code briefly reviewed

Identation fixed
Chart width fixed in 600 px
Chart centralized

Signed-off by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
Signed-off by: Renan Fichberg <rfichberg@gmail.com>