memory-metrics: Add dirty memory metric

This is useful for tuning kernel parameters for database applications,
for example.
Merge pull request #732 from petere/memory-dirty

memory-metrics: Add dirty memory metric