Make graphite root directory configurable

This commit removes hard-coded references to /opt/graphite and allows you
customise where graphite is installed using the $root_dir parameter.