Integrate statsd in template instanciation endpoint

NOTE: stats are only enabled using windshaft 0.18.2+