Style and expvar fixes

This is basically some style and code formatting fixes (minor), and then expvar and graphite logging similar to what carbonzipper produces.

Sorry this isn't split up more.