Adds FreeBSD monitoring of memory and cpu time.

cpu-time is broken (we get unreasonable high values).
resident size is broken (always zero).
Memory maps io test with getrusage memory faults.
Fixes cpu time and memory monitoring in FreeBSD.

Monitoring for FreeBSD is now only missing bytes read and bytes written.