Update ui_graphite module

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