Bump version to 0.3.1

Changes:
  * allow statsd metrics of the form %{foo.bar.baz} to access nested
    values in log dict
  * improved error handling for missing values in statsd shipper