Implement optional Naarad return codes: the return code, if enabled, reflects the number of metric failures