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.