Graphite graph templates doesn't work with check_nrpe

Update ui_graphite module in order to have a functionnal templates system with NRPE checks.