Perfdata in resources view

1/ only if component has a graph template
2/ only if this graph template includes incremental DS in perfdata
3/ debug and json mode for Ajax get perfdata