Converted to statsd 2.0 pipelining, if it's available.

Let's maintain statsd 1.0 compatibility, just in case, but we'll do this with AttributeErrors to favor 2.0.
Switch to local logger.
Merge pull request #3 from Crossway/feature/pipeline

Converted to statsd 2.0 pipelining, if it's available.