libcore: Add a smattering of POSIX error codes to the libc module.
libcore: Add `is_absolute()` to paths. Closes #5851.
auto merge of #5971 : pcwalton/rust/is-absolute, r=jdm

r? @jdm last commit