Use writeMetric() for Zenoss 5 compatibility.

PythonCollector was marginally compatible with Zenoss 5 without this
change, but would fail if any datasources or datapoints had underscores
in their name.
Merge pull request #13 from zenoss/feature/writeMetric

Please review branch feature/writeMetric