add support for basic http authentication for graphite
clean up rubocop warnings
changed url to be a variable
Merge pull request #301 from jameslegg/graphite-auth

Graphite auth