unix, windows: add uv_getrusage function

BTW, I have no idea about what is the best names for `uv_rusage` function and `getrusage.c` file.
Maybe the better name is `uv_getrusage_times`.