add LRU cache and max size setting to relay to fix memory leak

fix for https://github.com/graphite-project/carbon/issues/185

Agreed. Based on Chris comment I assumed we wanted to add some resiliency. I don't really know what context this code runs in and if we need safety.