More robust handling of tagging of metrics.

Added some docs, some type testing and some forced string
conversions to make it more robust.
Merge pull request #10 from Shopify/datadag_tags

Datadog tags