Add UDP counters from /proc/net/snmp.

Refactor stats printing code so that it's more generic and can handle
multiple stats files.  New metrics:
  - net.stat.udp.datagrams
  - net.stat.udp.errors

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>