Report runtime and memory statistics upon C++ memory exhaustion.
Provide memory statistics on Linux using /proc/self/statm if getrusage is broken.
Whitespace cleanup.
Fix configure check and use of tm.tm_gmtoff.