Added core.sys.posix.sys.resource

This is a translation of the sys/resource.h header for Linux, Mac OS X,
FreeBSD and Solaris.