Added some useful system information functions in sysinfo.c:
get_num_cpus and get_total_mem.  There are various implementations
for common operating systems (including Windows, although this is
not tested; much of the rest of the library doesn't yet support it
but this is planned).