default metric_type to GAUGE

While setting up Librato, I noticed that multiple collectors are not
setting the metric_type parameter (important ones, such as cpu and
network), and thus getting the default of COUNTER. They then getting
recorded wrong and show up as a flat graph. I think COUNTER is the
wrong default, as most metrics collected by Diamond are actually of
GAUGE type. It is also much easier to tell when a counter is accidently
being reported as a guage than when a gauge is being reported as a
counter.
convert to float/int
Use str_to_bool to interpret 'use_sudo' in collectors
Merge pull request #338 from wadey/default-metric-type

default metric_type to GAUGE
Merge pull request #339 from bclermont/memcached-type

Fix MemcachedCollector
Merge pull request #343 from jreitz/master

Fix 'use_sudo' config parsing in collectors