adding templating in opentsdb graphs
fixing unused var
Merge pull request #917 from mchataigner/master

adding templating in opentsdb graphs